Skip to content
PantoneTools
purple
Tailwind CSS palette

Violet 300

violet-300 · #C4B5FD

HEX

#C4B5FD

RGB

rgb(196, 181, 253)

CMYK

cmyk(23%, 28%, 0%, 1%)

HSL

hsl(252, 95%, 85%)

LAB

lab(77.2, 19.9, -33.6)

What is Violet 300?

Violet 300 is the violet-300 reference in the Tailwind CSS palette. Its sRGB value is #C4B5FD (rgb 196, 181, 253). It sits in the purple family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Violet 300 as a background.

Black text on this color

Sample text · 11.38 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.85 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Violet 300

An 11-step tonal scale derived from Violet 300 (#C4B5FD). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FAF9FF

50

#FAF9FF

#FAF9FF

Copied #F6F3FF

100

#F6F3FF

#F6F3FF

Copied #ECE7FE

200

#ECE7FE

#ECE7FE

Copied #E2DAFE

300

#E2DAFE

#E2DAFE

Copied #D3C8FE

400

#D3C8FE

#D3C8FE

Copied #C4B5FD

500

#C4B5FD

#C4B5FD

Copied #A79AD7

600

#A79AD7

#A79AD7

Copied #7F76A4

700

#7F76A4

#7F76A4

Copied #585172

800

#585172

#585172

Copied #312D3F

900

#312D3F

#312D3F

Copied #18161E

950

#18161E

#18161E

Lighter tints (mixed with white)

Copied #CEC3FD

15%

#CEC3FD

Copied #D8CFFE

30%

#D8CFFE

Copied #E1DAFE

45%

#E1DAFE

Copied #EAE5FE

60%

#EAE5FE

Copied #F2EFFF

75%

#F2EFFF

Darker shades (mixed with black)

Copied #B6A8EC

15%

#B6A8EC

Copied #A79AD8

30%

#A79AD8

Copied #968AC2

45%

#968AC2

Copied #8177A8

60%

#8177A8

Copied #685F88

75%

#685F88

Color harmonies for Violet 300

Classic color-theory harmonies derived from rotating the hue of Violet 300. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #EFFDB4

#EFFDB4

#EFFDB4

Triadic

Three colors 120° apart

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #FDC3B4

#FDC3B4

#FDC3B4

Copied #B4FDC3

#B4FDC3

#B4FDC3

Analogous

Two neighbors ±30° on the wheel

Copied #B4CAFD

#B4CAFD

#B4CAFD

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #E7B4FD

#E7B4FD

#E7B4FD

Split-complementary

Base + two colors flanking its complement

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #FDE7B4

#FDE7B4

#FDE7B4

Copied #CAFDB4

#CAFDB4

#CAFDB4

Tetradic

Two complementary pairs

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #FDB4EF

#FDB4EF

#FDB4EF

Copied #EFFDB4

#EFFDB4

#EFFDB4

Copied #B4FDC3

#B4FDC3

#B4FDC3

Square

Four colors evenly spaced 90° apart

Copied #C4B5FD

#C4B5FD

#C4B5FD

Copied #FDB4CA

#FDB4CA

#FDB4CA

Copied #EFFDB4

#EFFDB4

#EFFDB4

Copied #B4FDE7

#B4FDE7

#B4FDE7

Violet 300 in every color space

Full conversion of Violet 300 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#C4B5FD

RGB

rgb(196, 181, 253)

CMYK

cmyk(23%, 28%, 0%, 1%)

HSL

hsl(252, 95%, 85%)

HSV

hsv(252, 28%, 99%)

HWB

hwb(252 71% 1%)

CIE Lab

lab(77.2 19.9 -33.6)

OKLCH

oklch(81.1% 0.101 293.6)

XYZ (D65)

xyz(57.01, 51.87, 99.92)

Copy-ready code for Violet 300

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #C4B5FD;
background-color: #C4B5FD;

CSS variable

:root {
  --color-violet-300: #C4B5FD;
}

Tailwind config

// tailwind.config.js
colors: {
  'violet-300': '#C4B5FD',
}

Sass

$color-violet-300: #C4B5FD;

Swift UIColor

UIColor(red: 0.769, green: 0.710, blue: 0.992, alpha: 1.0)

Android XML

<color name="violet-300">#C4B5FD</color>

Closest match in every color system

The nearest Violet 300 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #9DA1AA

RAL 7040

#9DA1AA

Window grey

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #9EA0A1

RAL 7004

#9EA0A1

Signal grey

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #A18594

RAL 4009

#A18594

Pastel violet

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

FAQ about Violet 300

What is the HEX code for Violet 300?

Violet 300 (violet-300) has the HEX code #C4B5FD. In RGB it is rgb(196, 181, 253), and in CMYK it is cmyk(23%, 28%, 0%, 1%).

What is the OKLCH value of Violet 300?

Violet 300 converts to oklch(0.811 0.101 293.6). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Violet 300 accessible for body text?

Used as a background, Violet 300 has a contrast ratio of 11.38:1 with black text and 1.85:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Violet 300?

The closest Pantone reference to Violet 300 by ΔE2000 perceptual distance is Pantone 270 C (#A696D4). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Violet 300?

The closest RAL Classic reference to Violet 300 by ΔE2000 distance is RAL 7040 (Window grey, #9DA1AA). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Violet 300?

The complementary color (180° opposite on the HSL color wheel) of Violet 300 is #EFFDB4. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
purple

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Violet 300 — #C4B5FD | PantoneTools