#CD5CF2#CD5CF2
#CD5CF2 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.230 H 316.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5CF2 |
|---|---|
| RGB | rgb(205, 92, 242) |
| HSL | hsl(285, 85%, 65%) |
| HSV | hsv(285, 62%, 95%) |
| CMYK | cmyk(15.3%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(59.02, 66.43, -56.13) |
| CIE-LCH | lch(59.02, 86.97, 319.80°) |
| OKLab | oklab(67.53% 0.1678 -0.1572) |
| OKLCH | oklch(67.53% 0.23 316.9) |
| XYZ | xyz(45.0286, 27.0460, 86.8357) |
| Luminance | 0.2704 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.66
Heliotrope
#D94FF5
ΔE00 2.21
Bright Lavender
#C760FF
ΔE00 2.44
Easter Purple
#C071FE
ΔE00 4.93
Pinkish Purple
#D648D7
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5CF2 #81F25C
analogous
#825CF2 #CD5CF2 #F25CCC
triadic
#CD5CF2 #F2CD5C #5CF2CD
tetradic
#CD5CF2 #F2825C #81F25C #5CCCF2
square
#CD5CF2 #F2825C #81F25C #5CCCF2
split-complementary
#CD5CF2 #CCF25C #5CF282
monochromatic
#9710C4 #BC23ED #CD5CF2 #DE95F7 #F0CDFB
Accessibility & contrast
On white
3.28
#CD5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#CD5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5CF2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5CF2 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B87F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#CB769F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #cd5cf2; /* rgb */ color: rgb(205, 92, 242); /* oklch */ color: oklch(67.5% 0.230 316.9);
Tailwind
colors: {
custom: {
50: '#e091f7',
500: '#cd5cf2',
950: '#000000',
},
}SCSS
$custom: #cd5cf2; $custom-light: #e091f7; $custom-dark: #000000;
JSON
{
"hex": "#cd5cf2",
"rgb": {
"r": 205,
"g": 92,
"b": 242
},
"hsl": {
"h": 285.2,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.6753,
"c": 0.22995,
"h": 316.9
},
"luminance": 0.27044
}Semantic roles & 50–950 ramp
primary
#CD5CF2
secondary
#C8EEBC
accent
#E2043B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85