#CD5AF6#CD5AF6
#CD5AF6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.236 H 316.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5AF6 |
|---|---|
| RGB | rgb(205, 90, 246) |
| HSL | hsl(284, 90%, 66%) |
| HSV | hsv(284, 63%, 96%) |
| CMYK | cmyk(16.7%, 63.4%, 0%, 3.5%) |
| CIE-LAB | lab(58.93, 68.08, -58.50) |
| CIE-LCH | lch(58.93, 89.76, 319.33°) |
| OKLab | oklab(67.54% 0.17 -0.1641) |
| OKLCH | oklch(67.54% 0.236 316) |
| XYZ | xyz(45.4650, 26.9469, 89.9773) |
| Luminance | 0.2695 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.24
Bright Lavender
#C760FF
ΔE00 2.04
Heliotrope
#D94FF5
ΔE00 2.18
Easter Purple
#C071FE
ΔE00 4.89
Light Urple
#B36FF6
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5AF6 #83F65A
analogous
#7F5AF6 #CD5AF6 #F65AD1
triadic
#CD5AF6 #F6CD5A #5AF6CD
tetradic
#CD5AF6 #F67F5A #83F65A #5AD1F6
square
#CD5AF6 #F67F5A #83F65A #5AD1F6
split-complementary
#CD5AF6 #D1F65A #5AF67F
monochromatic
#980BCB #BB20F3 #CD5AF6 #DF94F9 #F0CEFC
Accessibility & contrast
On white
3.29
#CD5AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#CD5AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5AF6
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5AF6 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C87FB
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#CA77A0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #cd5af6; /* rgb */ color: rgb(205, 90, 246); /* oklch */ color: oklch(67.5% 0.236 316.0);
Tailwind
colors: {
custom: {
50: '#e090fa',
500: '#cd5af6',
950: '#000000',
},
}SCSS
$custom: #cd5af6; $custom-light: #e090fa; $custom-dark: #000000;
JSON
{
"hex": "#cd5af6",
"rgb": {
"r": 205,
"g": 90,
"b": 246
},
"hsl": {
"h": 284.231,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.67537,
"c": 0.23632,
"h": 316
},
"luminance": 0.26945
}Semantic roles & 50–950 ramp
primary
#CD5AF6
secondary
#CAF0BC
accent
#E6003C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85