#CD92F2#CD92F2
#CD92F2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.2% C 0.147 H 311.5°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CD92F2 |
|---|---|
| RGB | rgb(205, 146, 242) |
| HSL | hsl(277, 79%, 76%) |
| HSV | hsv(277, 40%, 95%) |
| CMYK | cmyk(15.3%, 39.7%, 0%, 5.1%) |
| CIE-LAB | lab(69.43, 39.33, -39.69) |
| CIE-LCH | lch(69.43, 55.87, 314.73°) |
| OKLab | oklab(75.24% 0.0971 -0.1098) |
| OKLCH | oklch(75.24% 0.147 311.5) |
| XYZ | xyz(51.4799, 39.9486, 88.9861) |
| Luminance | 0.3995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.59
Liliac
#C48EFD
ΔE00 3.39
Lavender (survey)
#C79FEF
ΔE00 4.01
Lilac (survey)
#CEA2FD
ΔE00 4.17
Pastel Purple
#CAA0FF
ΔE00 4.23
Pale Purple
#B790D4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD92F2 #B7F292
analogous
#9D92F2 #CD92F2 #F292E7
triadic
#CD92F2 #F2CD92 #92F2CD
tetradic
#CD92F2 #F29D92 #B7F292 #92E7F2
square
#CD92F2 #F29D92 #B7F292 #92E7F2
split-complementary
#CD92F2 #E7F292 #92F29D
monochromatic
#9B25E5 #B45BEB #CD92F2 #E6C9F9 #F2E4FC
Accessibility & contrast
On white
2.34
#CD92F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#CD92F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD92F2
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD92F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD92F2 | 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)
#7FA7F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#C9A0B7
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #cd92f2; /* rgb */ color: rgb(205, 146, 242); /* oklch */ color: oklch(75.2% 0.147 311.5);
Tailwind
colors: {
custom: {
50: '#ddb3f6',
500: '#cd92f2',
950: '#000000',
},
}SCSS
$custom: #cd92f2; $custom-light: #ddb3f6; $custom-dark: #000000;
JSON
{
"hex": "#cd92f2",
"rgb": {
"r": 205,
"g": 146,
"b": 242
},
"hsl": {
"h": 276.875,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.75236,
"c": 0.1466,
"h": 311.5
},
"luminance": 0.39948
}Semantic roles & 50–950 ramp
primary
#CD92F2
secondary
#E2F4D7
accent
#DB0B5B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085