#CD7CF4#CD7CF4
#CD7CF4 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.185 H 313.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF4 |
|---|---|
| RGB | rgb(205, 124, 244) |
| HSL | hsl(281, 85%, 72%) |
| HSV | hsv(281, 49%, 96%) |
| CMYK | cmyk(16%, 49.2%, 0%, 4.3%) |
| CIE-LAB | lab(64.90, 51.40, -47.89) |
| CIE-LCH | lch(64.90, 70.26, 317.02°) |
| OKLab | oklab(71.88% 0.1278 -0.1334) |
| OKLCH | oklch(71.88% 0.185 313.8) |
| XYZ | xyz(48.7109, 33.9273, 89.5530) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.09
Easter Purple
#C071FE
ΔE00 4.27
Liliac
#C48EFD
ΔE00 4.92
Light Urple
#B36FF6
ΔE00 6.03
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF4 #A3F47C
analogous
#917CF4 #CD7CF4 #F47CDF
triadic
#CD7CF4 #F4CD7C #7CF4CD
tetradic
#CD7CF4 #F4917C #A3F47C #7CDFF4
square
#CD7CF4 #F4917C #A3F47C #7CDFF4
split-complementary
#CD7CF4 #DFF47C #7CF491
monochromatic
#9F13E3 #B744EF #CD7CF4 #E3B4F9 #F4E3FD
Accessibility & contrast
On white
2.70
#CD7CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CD7CF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF4
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF4 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7cf4; /* rgb */ color: rgb(205, 124, 244); /* oklch */ color: oklch(71.9% 0.185 313.8);
Tailwind
colors: {
custom: {
50: '#dea4f8',
500: '#cd7cf4',
950: '#000000',
},
}SCSS
$custom: #cd7cf4; $custom-light: #dea4f8; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf4",
"rgb": {
"r": 205,
"g": 124,
"b": 244
},
"hsl": {
"h": 280.5,
"s": 84.507,
"l": 72.157
},
"oklch": {
"l": 0.71879,
"c": 0.18472,
"h": 313.8
},
"luminance": 0.33926
}Semantic roles & 50–950 ramp
primary
#CD7CF4
secondary
#E0F5D6
accent
#E1054C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85