#CD91F1#CD91F1
#CD91F1 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.0% C 0.147 H 312.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CD91F1 |
|---|---|
| RGB | rgb(205, 145, 241) |
| HSL | hsl(278, 77%, 76%) |
| HSV | hsv(278, 40%, 95%) |
| CMYK | cmyk(14.9%, 39.8%, 0%, 5.5%) |
| CIE-LAB | lab(69.17, 39.65, -39.55) |
| CIE-LCH | lch(69.17, 56.01, 315.07°) |
| OKLab | oklab(75.02% 0.0984 -0.1094) |
| OKLCH | oklch(75.02% 0.147 312) |
| XYZ | xyz(51.1767, 39.5817, 88.1461) |
| Luminance | 0.3958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.86
Liliac
#C48EFD
ΔE00 3.47
Lavender (survey)
#C79FEF
ΔE00 4.22
Lilac (survey)
#CEA2FD
ΔE00 4.44
Pastel Purple
#CAA0FF
ΔE00 4.51
Pale Purple
#B790D4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD91F1 #B5F191
analogous
#9D91F1 #CD91F1 #F191E5
triadic
#CD91F1 #F1CD91 #91F1CD
tetradic
#CD91F1 #F19D91 #B5F191 #91E5F1
square
#CD91F1 #F19D91 #B5F191 #91E5F1
split-complementary
#CD91F1 #E5F191 #91F19D
monochromatic
#9C24E3 #B45BEA #CD91F1 #E6C7F8 #F3E4FC
Accessibility & contrast
On white
2.36
#CD91F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#CD91F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD91F1
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD91F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD91F1 | 1.00 | 2.36 | 8.92 | 8.92 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#CA9FB6
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cd91f1; /* rgb */ color: rgb(205, 145, 241); /* oklch */ color: oklch(75.0% 0.147 312.0);
Tailwind
colors: {
custom: {
50: '#ddb2f6',
500: '#cd91f1',
950: '#000000',
},
}SCSS
$custom: #cd91f1; $custom-light: #ddb2f6; $custom-dark: #000000;
JSON
{
"hex": "#cd91f1",
"rgb": {
"r": 205,
"g": 145,
"b": 241
},
"hsl": {
"h": 277.5,
"s": 77.419,
"l": 75.686
},
"oklch": {
"l": 0.75024,
"c": 0.14711,
"h": 312
},
"luminance": 0.39581
}Semantic roles & 50–950 ramp
primary
#CD91F1
secondary
#E2F3D8
accent
#DA0C59
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085