#CD79E1#CD79E1
#CD79E1 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.170 H 319.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79E1 |
|---|---|
| RGB | rgb(205, 121, 225) |
| HSL | hsl(288, 63%, 68%) |
| HSV | hsv(288, 46%, 88%) |
| CMYK | cmyk(8.9%, 46.2%, 0%, 11.8%) |
| CIE-LAB | lab(63.42, 49.11, -39.71) |
| CIE-LCH | lch(63.42, 63.16, 321.04°) |
| OKLab | oklab(70.49% 0.1293 -0.1097) |
| OKLCH | oklch(70.49% 0.17 319.7) |
| XYZ | xyz(45.6031, 32.0918, 75.0117) |
| Luminance | 0.3209 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.84
Orchid (survey)
#C875C4
ΔE00 5.25
Light Purple
#BF77F6
ΔE00 5.30
Lavender Pink
#DD85D7
ΔE00 5.67
Purply Pink
#F075E6
ΔE00 5.96
Violet (CSS)
#EE82EE
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79E1 #8DE179
analogous
#9979E1 #CD79E1 #E179C1
triadic
#CD79E1 #E1CD79 #79E1CD
tetradic
#CD79E1 #E19979 #8DE179 #79C1E1
square
#CD79E1 #E19979 #8DE179 #79C1E1
split-complementary
#CD79E1 #C1E179 #79E199
monochromatic
#9B29B7 #BA47D6 #CD79E1 #E0ABEC #F2DDF7
Accessibility & contrast
On white
2.83
#CD79E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#CD79E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79E1
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79E1 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#809DDE
Tritanopia (blue-blind)
#CE87A3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd79e1; /* rgb */ color: rgb(205, 121, 225); /* oklch */ color: oklch(70.5% 0.170 319.7);
Tailwind
colors: {
custom: {
50: '#dea2eb',
500: '#cd79e1',
950: '#000000',
},
}SCSS
$custom: #cd79e1; $custom-light: #dea2eb; $custom-dark: #000000;
JSON
{
"hex": "#cd79e1",
"rgb": {
"r": 205,
"g": 121,
"b": 225
},
"hsl": {
"h": 288.462,
"s": 63.415,
"l": 67.843
},
"oklch": {
"l": 0.70486,
"c": 0.16959,
"h": 319.7
},
"luminance": 0.3209
}Semantic roles & 50–950 ramp
primary
#CD79E1
secondary
#D1EBCB
accent
#CB1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84