#CF92FD#CF92FD
#CF92FD is a light, vivid violet. Relative luminance 0.409; OKLCH L 76.0% C 0.160 H 309.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CF92FD |
|---|---|
| RGB | rgb(207, 146, 253) |
| HSL | hsl(274, 96%, 78%) |
| HSV | hsv(274, 42%, 99%) |
| CMYK | cmyk(18.2%, 42.3%, 0%, 0.8%) |
| CIE-LAB | lab(70.12, 42.25, -44.61) |
| CIE-LCH | lch(70.12, 61.44, 313.44°) |
| OKLab | oklab(75.96% 0.1015 -0.1239) |
| OKLCH | oklch(75.96% 0.16 309.3) |
| XYZ | xyz(53.7373, 40.9157, 97.9761) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.33
Baby Purple
#CA9BF7
ΔE00 2.86
Pastel Purple
#CAA0FF
ΔE00 3.87
Lilac (survey)
#CEA2FD
ΔE00 4.14
Lavender (survey)
#C79FEF
ΔE00 4.85
Light Purple
#BF77F6
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF92FD #C0FD92
analogous
#9992FD #CF92FD #FD92F5
triadic
#CF92FD #FDCF92 #92FDCF
tetradic
#CF92FD #FD9992 #C0FD92 #92F5FD
square
#CF92FD #FD9992 #C0FD92 #92F5FD
split-complementary
#CF92FD #F5FD92 #92FD99
monochromatic
#9A1AFB #B556FC #CF92FD #E9CEFE #F2E1FE
Accessibility & contrast
On white
2.29
#CF92FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#CF92FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF92FD
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF92FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF92FD | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#8AACFA
Tritanopia (blue-blind)
#C9A2BC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #cf92fd; /* rgb */ color: rgb(207, 146, 253); /* oklch */ color: oklch(76.0% 0.160 309.3);
Tailwind
colors: {
custom: {
50: '#dfb3fe',
500: '#cf92fd',
950: '#000000',
},
}SCSS
$custom: #cf92fd; $custom-light: #dfb3fe; $custom-dark: #000000;
JSON
{
"hex": "#cf92fd",
"rgb": {
"r": 207,
"g": 146,
"b": 253
},
"hsl": {
"h": 274.206,
"s": 96.396,
"l": 78.235
},
"oklch": {
"l": 0.75955,
"c": 0.16016,
"h": 309.3
},
"luminance": 0.40915
}Semantic roles & 50–950 ramp
primary
#CF92FD
secondary
#E3F7D4
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086