#CF91F2#CF91F2
#CF91F2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.149 H 312.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CF91F2 |
|---|---|
| RGB | rgb(207, 145, 242) |
| HSL | hsl(278, 79%, 76%) |
| HSV | hsv(278, 40%, 95%) |
| CMYK | cmyk(14.5%, 40.1%, 0%, 5.1%) |
| CIE-LAB | lab(69.42, 40.45, -39.70) |
| CIE-LCH | lch(69.42, 56.67, 315.53°) |
| OKLab | oklab(75.27% 0.1009 -0.1098) |
| OKLCH | oklch(75.27% 0.149 312.6) |
| XYZ | xyz(51.8818, 39.9280, 88.9610) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.02
Liliac
#C48EFD
ΔE00 3.63
Lavender (survey)
#C79FEF
ΔE00 4.40
Lilac (survey)
#CEA2FD
ΔE00 4.51
Pastel Purple
#CAA0FF
ΔE00 4.62
Pale Purple
#B790D4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF91F2 #B4F291
analogous
#9E91F2 #CF91F2 #F291E4
triadic
#CF91F2 #F2CF91 #91F2CF
tetradic
#CF91F2 #F29E91 #B4F291 #91E4F2
square
#CF91F2 #F29E91 #B4F291 #91E4F2
split-complementary
#CF91F2 #E4F291 #91F29E
monochromatic
#9F24E5 #B75AEC #CF91F2 #E7C8F8 #F3E4FC
Accessibility & contrast
On white
2.34
#CF91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#CF91F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF91F2
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF91F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF91F2 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#CC9FB6
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cf91f2; /* rgb */ color: rgb(207, 145, 242); /* oklch */ color: oklch(75.3% 0.149 312.6);
Tailwind
colors: {
custom: {
50: '#dfb2f6',
500: '#cf91f2',
950: '#000000',
},
}SCSS
$custom: #cf91f2; $custom-light: #dfb2f6; $custom-dark: #000000;
JSON
{
"hex": "#cf91f2",
"rgb": {
"r": 207,
"g": 145,
"b": 242
},
"hsl": {
"h": 278.351,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.75271,
"c": 0.14907,
"h": 312.6
},
"luminance": 0.39927
}Semantic roles & 50–950 ramp
primary
#CF91F2
secondary
#E2F4D7
accent
#DB0A56
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085