#CD79E2#CD79E2
#CD79E2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.171 H 319.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79E2 |
|---|---|
| RGB | rgb(205, 121, 226) |
| HSL | hsl(288, 64%, 68%) |
| HSV | hsv(288, 46%, 89%) |
| CMYK | cmyk(9.3%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(63.46, 49.31, -40.20) |
| CIE-LCH | lch(63.46, 63.61, 320.81°) |
| OKLab | oklab(70.53% 0.1295 -0.1111) |
| OKLCH | oklch(70.53% 0.171 319.4) |
| XYZ | xyz(45.7399, 32.1465, 75.7323) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.97
Light Purple
#BF77F6
ΔE00 5.14
Orchid (survey)
#C875C4
ΔE00 5.42
Lavender Pink
#DD85D7
ΔE00 5.80
Purply Pink
#F075E6
ΔE00 6.01
Violet (CSS)
#EE82EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79E2 #8EE279
analogous
#9879E2 #CD79E2 #E279C2
triadic
#CD79E2 #E2CD79 #79E2CD
tetradic
#CD79E2 #E29879 #8EE279 #79C2E2
square
#CD79E2 #E29879 #8EE279 #79C2E2
split-complementary
#CD79E2 #C2E279 #79E298
monochromatic
#9C28B9 #BA47D7 #CD79E2 #E0ABED #F3DEF8
Accessibility & contrast
On white
2.83
#CD79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#CD79E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79E2
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79E2 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#809DDF
Tritanopia (blue-blind)
#CE87A3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd79e2; /* rgb */ color: rgb(205, 121, 226); /* oklch */ color: oklch(70.5% 0.171 319.4);
Tailwind
colors: {
custom: {
50: '#dea2eb',
500: '#cd79e2',
950: '#000000',
},
}SCSS
$custom: #cd79e2; $custom-light: #dea2eb; $custom-dark: #000000;
JSON
{
"hex": "#cd79e2",
"rgb": {
"r": 205,
"g": 121,
"b": 226
},
"hsl": {
"h": 288,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.70534,
"c": 0.17062,
"h": 319.4
},
"luminance": 0.32145
}Semantic roles & 50–950 ramp
primary
#CD79E2
secondary
#D2EBCB
accent
#CC193D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84