#CD7CEF#CD7CEF
#CD7CEF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.179 H 315.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CEF |
|---|---|
| RGB | rgb(205, 124, 239) |
| HSL | hsl(282, 78%, 71%) |
| HSV | hsv(282, 48%, 94%) |
| CMYK | cmyk(14.2%, 48.1%, 0%, 6.3%) |
| CIE-LAB | lab(64.67, 50.37, -45.51) |
| CIE-LCH | lch(64.67, 67.89, 317.90°) |
| OKLab | oklab(71.62% 0.1272 -0.1265) |
| OKLCH | oklch(71.62% 0.179 315.2) |
| XYZ | xyz(47.9620, 33.6278, 85.6089) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 4.83
Liliac
#C48EFD
ΔE00 5.29
Orchid
#DA70D6
ΔE00 5.94
Light Urple
#B36FF6
ΔE00 6.41
Violet (CSS)
#EE82EE
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CEF #9EEF7C
analogous
#937CEF #CD7CEF #EF7CD7
triadic
#CD7CEF #EFCD7C #7CEFCD
tetradic
#CD7CEF #EF937C #9EEF7C #7CD7EF
square
#CD7CEF #EF937C #9EEF7C #7CD7EF
split-complementary
#CD7CEF #D7EF7C #7CEF93
monochromatic
#9F1AD6 #B845E8 #CD7CEF #E2B3F6 #F5E4FC
Accessibility & contrast
On white
2.72
#CD7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CD7CEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CEF
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CEF | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#CB8DAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7cef; /* rgb */ color: rgb(205, 124, 239); /* oklch */ color: oklch(71.6% 0.179 315.2);
Tailwind
colors: {
custom: {
50: '#dea4f4',
500: '#cd7cef',
950: '#000000',
},
}SCSS
$custom: #cd7cef; $custom-light: #dea4f4; $custom-dark: #000000;
JSON
{
"hex": "#cd7cef",
"rgb": {
"r": 205,
"g": 124,
"b": 239
},
"hsl": {
"h": 282.261,
"s": 78.231,
"l": 71.176
},
"oklch": {
"l": 0.71624,
"c": 0.17937,
"h": 315.2
},
"luminance": 0.33626
}Semantic roles & 50–950 ramp
primary
#CD7CEF
secondary
#DDF3D4
accent
#DA0B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85