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
White text on this color
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.
50
#FAF9FF
#FAF9FF
100
#F6F3FF
#F6F3FF
200
#ECE7FE
#ECE7FE
300
#E2DAFE
#E2DAFE
400
#D3C8FE
#D3C8FE
500
#C4B5FD
#C4B5FD
600
#A79AD7
#A79AD7
700
#7F76A4
#7F76A4
800
#585172
#585172
900
#312D3F
#312D3F
950
#18161E
#18161E
Lighter tints (mixed with white)
15%
#CEC3FD
30%
#D8CFFE
45%
#E1DAFE
60%
#EAE5FE
75%
#F2EFFF
Darker shades (mixed with black)
15%
#B6A8EC
30%
#A79AD8
45%
#968AC2
60%
#8177A8
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
#C4B5FD
#C4B5FD
#EFFDB4
#EFFDB4
Triadic
Three colors 120° apart
#C4B5FD
#C4B5FD
#FDC3B4
#FDC3B4
#B4FDC3
#B4FDC3
Analogous
Two neighbors ±30° on the wheel
#B4CAFD
#B4CAFD
#C4B5FD
#C4B5FD
#E7B4FD
#E7B4FD
Split-complementary
Base + two colors flanking its complement
#C4B5FD
#C4B5FD
#FDE7B4
#FDE7B4
#CAFDB4
#CAFDB4
Tetradic
Two complementary pairs
#C4B5FD
#C4B5FD
#FDB4EF
#FDB4EF
#EFFDB4
#EFFDB4
#B4FDC3
#B4FDC3
Square
Four colors evenly spaced 90° apart
#C4B5FD
#C4B5FD
#FDB4CA
#FDB4CA
#EFFDB4
#EFFDB4
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7040
#9DA1AA
Window grey
RAL 7001
#8F999F
Silver grey
RAL 7004
#9EA0A1
Signal grey
RAL 7000
#7E8B92
Squirrel grey
RAL 4009
#A18594
Pastel violet
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 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.