#CB79E4#CB79E4
#CB79E4 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.172 H 317.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79E4 |
|---|---|
| RGB | rgb(203, 121, 228) |
| HSL | hsl(286, 66%, 68%) |
| HSV | hsv(286, 47%, 89%) |
| CMYK | cmyk(11%, 46.9%, 0%, 10.6%) |
| CIE-LAB | lab(63.32, 49.14, -41.55) |
| CIE-LCH | lch(63.32, 64.35, 319.79°) |
| OKLab | oklab(70.41% 0.1275 -0.115) |
| OKLCH | oklch(70.41% 0.172 317.9) |
| XYZ | xyz(45.4676, 31.9742, 77.1603) |
| Luminance | 0.3197 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.52
Orchid
#DA70D6
ΔE00 4.53
Easter Purple
#C071FE
ΔE00 5.77
Orchid (survey)
#C875C4
ΔE00 5.89
Lavender Pink
#DD85D7
ΔE00 6.36
Violet (CSS)
#EE82EE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79E4 #92E479
analogous
#9579E4 #CB79E4 #E479C8
triadic
#CB79E4 #E4CB79 #79E4CB
tetradic
#CB79E4 #E49579 #92E479 #79C8E4
square
#CB79E4 #E49579 #92E479 #79C8E4
split-complementary
#CB79E4 #C8E479 #79E495
monochromatic
#9926BD #B746DA #CB79E4 #DFACEE #F3DFF9
Accessibility & contrast
On white
2.84
#CB79E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#CB79E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79E4
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79E4 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#CB88A4
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb79e4; /* rgb */ color: rgb(203, 121, 228); /* oklch */ color: oklch(70.4% 0.172 317.9);
Tailwind
colors: {
custom: {
50: '#dda2ed',
500: '#cb79e4',
950: '#000000',
},
}SCSS
$custom: #cb79e4; $custom-light: #dda2ed; $custom-dark: #000000;
JSON
{
"hex": "#cb79e4",
"rgb": {
"r": 203,
"g": 121,
"b": 228
},
"hsl": {
"h": 285.981,
"s": 66.46,
"l": 68.431
},
"oklch": {
"l": 0.70408,
"c": 0.1717,
"h": 317.9
},
"luminance": 0.31973
}Semantic roles & 50–950 ramp
primary
#CB79E4
secondary
#D4ECCC
accent
#CE1742
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84