#CD79C7#CD79C7
#CD79C7 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.144 H 329.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79C7 |
|---|---|
| RGB | rgb(205, 121, 199) |
| HSL | hsl(304, 46%, 64%) |
| HSV | hsv(304, 41%, 80%) |
| CMYK | cmyk(0%, 41%, 2.9%, 19.6%) |
| CIE-LAB | lab(62.32, 44.22, -26.84) |
| CIE-LCH | lch(62.32, 51.73, 328.74°) |
| OKLab | oklab(69.31% 0.1243 -0.0729) |
| OKLCH | oklch(69.31% 0.144 329.6) |
| XYZ | xyz(42.3224, 30.7795, 57.7335) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.38
Orchid
#DA70D6
ΔE00 3.73
Lavender Pink
#DD85D7
ΔE00 4.16
Pale Magenta
#D767AD
ΔE00 6.61
Purply Pink
#F075E6
ΔE00 6.66
Purplish Pink
#CE5DAE
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79C7 #79CD7F
analogous
#A979CD #CD79C7 #CD799D
triadic
#CD79C7 #C7CD79 #79C7CD
tetradic
#CD79C7 #CDA979 #79CD7F #799DCD
square
#CD79C7 #CDA979 #79CD7F #799DCD
split-complementary
#CD79C7 #9DCD79 #79CDA9
monochromatic
#94378E #BC4CB4 #CD79C7 #DEA6DA #EED2EC
Accessibility & contrast
On white
2.93
#CD79C7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#CD79C7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79C7
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79C7 | 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)
#7590CA
Deuteranopia (green-blind)
#8B9BC4
Tritanopia (blue-blind)
#D38097
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd79c7; /* rgb */ color: rgb(205, 121, 199); /* oklch */ color: oklch(69.3% 0.144 329.6);
Tailwind
colors: {
custom: {
50: '#dea2d8',
500: '#cd79c7',
950: '#000000',
},
}SCSS
$custom: #cd79c7; $custom-light: #dea2d8; $custom-dark: #000000;
JSON
{
"hex": "#cd79c7",
"rgb": {
"r": 205,
"g": 121,
"b": 199
},
"hsl": {
"h": 304.286,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.69306,
"c": 0.14413,
"h": 329.6
},
"luminance": 0.30777
}Semantic roles & 50–950 ramp
primary
#CD79C7
secondary
#C2E0C4
accent
#B9372D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83