#CD79C8#CD79C8
#CD79C8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.145 H 329.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79C8 |
|---|---|
| RGB | rgb(205, 121, 200) |
| HSL | hsl(304, 46%, 64%) |
| HSV | hsv(304, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 2.4%, 19.6%) |
| CIE-LAB | lab(62.36, 44.40, -27.34) |
| CIE-LCH | lch(62.36, 52.14, 328.37°) |
| OKLab | oklab(69.35% 0.1245 -0.0744) |
| OKLCH | oklch(69.35% 0.145 329.2) |
| XYZ | xyz(42.4389, 30.8261, 58.3470) |
| Luminance | 0.3082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.38
Orchid
#DA70D6
ΔE00 3.59
Lavender Pink
#DD85D7
ΔE00 4.11
Purply Pink
#F075E6
ΔE00 6.56
Pale Magenta
#D767AD
ΔE00 6.78
Violet (CSS)
#EE82EE
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79C8 #79CD7E
analogous
#A879CD #CD79C8 #CD799E
triadic
#CD79C8 #C8CD79 #79C8CD
tetradic
#CD79C8 #CDA879 #79CD7E #799ECD
square
#CD79C8 #CDA879 #79CD7E #799ECD
split-complementary
#CD79C8 #9ECD79 #79CDA8
monochromatic
#94378F #BC4CB6 #CD79C8 #DEA6DA #EED2ED
Accessibility & contrast
On white
2.93
#CD79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#CD79C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79C8
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79C8 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#D38097
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd79c8; /* rgb */ color: rgb(205, 121, 200); /* oklch */ color: oklch(69.3% 0.145 329.2);
Tailwind
colors: {
custom: {
50: '#dea2d9',
500: '#cd79c8',
950: '#000000',
},
}SCSS
$custom: #cd79c8; $custom-light: #dea2d9; $custom-dark: #000000;
JSON
{
"hex": "#cd79c8",
"rgb": {
"r": 205,
"g": 121,
"b": 200
},
"hsl": {
"h": 303.571,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.69349,
"c": 0.14506,
"h": 329.2
},
"luminance": 0.30824
}Semantic roles & 50–950 ramp
primary
#CD79C8
secondary
#C2E0C4
accent
#B9352D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83