#CD7AF4#CD7AF4
#CD7AF4 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.188 H 314.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AF4 |
|---|---|
| RGB | rgb(205, 122, 244) |
| HSL | hsl(281, 85%, 72%) |
| HSV | hsv(281, 50%, 96%) |
| CMYK | cmyk(16%, 50%, 0%, 4.3%) |
| CIE-LAB | lab(64.51, 52.43, -48.52) |
| CIE-LCH | lch(64.51, 71.44, 317.22°) |
| OKLab | oklab(71.59% 0.1305 -0.1352) |
| OKLCH | oklch(71.59% 0.188 314) |
| XYZ | xyz(48.4628, 33.4311, 89.4703) |
| Luminance | 0.3343 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.99
Liliac
#C48EFD
ΔE00 5.28
Light Urple
#B36FF6
ΔE00 5.78
Bright Lavender
#C760FF
ΔE00 5.91
Bright Lilac
#C95EFB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AF4 #A1F47A
analogous
#907AF4 #CD7AF4 #F47ADE
triadic
#CD7AF4 #F4CD7A #7AF4CD
tetradic
#CD7AF4 #F4907A #A1F47A #7ADEF4
square
#CD7AF4 #F4907A #A1F47A #7ADEF4
split-complementary
#CD7AF4 #DEF47A #7AF490
monochromatic
#9F13E1 #B841EF #CD7AF4 #E2B3F9 #F4E3FD
Accessibility & contrast
On white
2.73
#CD7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CD7AF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AF4
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AF4 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E98F8
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#CA8DAC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7af4; /* rgb */ color: rgb(205, 122, 244); /* oklch */ color: oklch(71.6% 0.188 314.0);
Tailwind
colors: {
custom: {
50: '#dea3f8',
500: '#cd7af4',
950: '#000000',
},
}SCSS
$custom: #cd7af4; $custom-light: #dea3f8; $custom-dark: #000000;
JSON
{
"hex": "#cd7af4",
"rgb": {
"r": 205,
"g": 122,
"b": 244
},
"hsl": {
"h": 280.82,
"s": 84.722,
"l": 71.765
},
"oklch": {
"l": 0.71586,
"c": 0.18787,
"h": 314
},
"luminance": 0.3343
}Semantic roles & 50–950 ramp
primary
#CD7AF4
secondary
#DFF4D5
accent
#E1044B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85