#CB79E2#CB79E2
#CB79E2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.170 H 318.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79E2 |
|---|---|
| RGB | rgb(203, 121, 226) |
| HSL | hsl(287, 64%, 68%) |
| HSV | hsv(287, 46%, 89%) |
| CMYK | cmyk(10.2%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(63.23, 48.74, -40.58) |
| CIE-LCH | lch(63.23, 63.42, 320.22°) |
| OKLab | oklab(70.31% 0.1272 -0.1122) |
| OKLCH | oklch(70.31% 0.17 318.6) |
| XYZ | xyz(45.1916, 31.8638, 75.7066) |
| Luminance | 0.3186 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.27
Light Purple
#BF77F6
ΔE00 4.84
Orchid (survey)
#C875C4
ΔE00 5.54
Easter Purple
#C071FE
ΔE00 6.10
Lavender Pink
#DD85D7
ΔE00 6.10
Purply Pink
#F075E6
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79E2 #90E279
analogous
#9679E2 #CB79E2 #E279C4
triadic
#CB79E2 #E2CB79 #79E2CB
tetradic
#CB79E2 #E29679 #90E279 #79C4E2
square
#CB79E2 #E29679 #90E279 #79C4E2
split-complementary
#CB79E2 #C4E279 #79E296
monochromatic
#9928B9 #B747D7 #CB79E2 #DFABED #F2DEF8
Accessibility & contrast
On white
2.85
#CB79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#CB79E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79E2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79E2 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6794E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#CB87A3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb79e2; /* rgb */ color: rgb(203, 121, 226); /* oklch */ color: oklch(70.3% 0.170 318.6);
Tailwind
colors: {
custom: {
50: '#dda2eb',
500: '#cb79e2',
950: '#000000',
},
}SCSS
$custom: #cb79e2; $custom-light: #dda2eb; $custom-dark: #000000;
JSON
{
"hex": "#cb79e2",
"rgb": {
"r": 203,
"g": 121,
"b": 226
},
"hsl": {
"h": 286.857,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.7031,
"c": 0.16962,
"h": 318.6
},
"luminance": 0.31862
}Semantic roles & 50–950 ramp
primary
#CB79E2
secondary
#D2EBCB
accent
#CC1940
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84