#CD6AF2#CD6AF2
#CD6AF2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.210 H 315.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CD6AF2 |
|---|---|
| RGB | rgb(205, 106, 242) |
| HSL | hsl(284, 84%, 68%) |
| HSV | hsv(284, 56%, 95%) |
| CMYK | cmyk(15.3%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(61.39, 59.98, -52.35) |
| CIE-LCH | lch(61.39, 79.61, 318.89°) |
| OKLab | oklab(69.26% 0.151 -0.1462) |
| OKLCH | oklch(69.26% 0.21 315.9) |
| XYZ | xyz(46.3554, 29.6996, 87.2779) |
| Luminance | 0.2970 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.97
Bright Lavender
#C760FF
ΔE00 3.24
Easter Purple
#C071FE
ΔE00 3.54
Light Purple
#BF77F6
ΔE00 3.69
Heliotrope
#D94FF5
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD6AF2 #8FF26A
analogous
#896AF2 #CD6AF2 #F26AD3
triadic
#CD6AF2 #F2CD6A #6AF2CD
tetradic
#CD6AF2 #F2896A #8FF26A #6AD3F2
square
#CD6AF2 #F2896A #8FF26A #6AD3F2
split-complementary
#CD6AF2 #D3F26A #6AF289
monochromatic
#9C12CF #BA32ED #CD6AF2 #E0A2F7 #F3DBFC
Accessibility & contrast
On white
3.03
#CD6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#CD6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD6AF2
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD6AF2 | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#CB80A4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #cd6af2; /* rgb */ color: rgb(205, 106, 242); /* oklch */ color: oklch(69.3% 0.210 315.9);
Tailwind
colors: {
custom: {
50: '#df99f7',
500: '#cd6af2',
950: '#000000',
},
}SCSS
$custom: #cd6af2; $custom-light: #df99f7; $custom-dark: #000000;
JSON
{
"hex": "#cd6af2",
"rgb": {
"r": 205,
"g": 106,
"b": 242
},
"hsl": {
"h": 283.676,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.69261,
"c": 0.21021,
"h": 315.9
},
"luminance": 0.29698
}Semantic roles & 50–950 ramp
primary
#CD6AF2
secondary
#D2F1C7
accent
#E00541
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85