#CB79EC#CB79EC
#CB79EC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.180 H 315.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79EC |
|---|---|
| RGB | rgb(203, 121, 236) |
| HSL | hsl(283, 75%, 70%) |
| HSV | hsv(283, 49%, 93%) |
| CMYK | cmyk(14%, 48.7%, 0%, 7.5%) |
| CIE-LAB | lab(63.70, 50.76, -45.40) |
| CIE-LCH | lch(63.70, 68.10, 318.19°) |
| OKLab | oklab(70.81% 0.1285 -0.1262) |
| OKLCH | oklch(70.81% 0.18 315.5) |
| XYZ | xyz(46.6040, 32.4287, 83.1450) |
| Luminance | 0.3243 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Easter Purple
#C071FE
ΔE00 4.57
Orchid
#DA70D6
ΔE00 5.62
Liliac
#C48EFD
ΔE00 5.90
Light Urple
#B36FF6
ΔE00 5.99
Bright Lilac
#C95EFB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79EC #9AEC79
analogous
#9279EC #CB79EC #EC79D3
triadic
#CB79EC #ECCB79 #79ECCB
tetradic
#CB79EC #EC9279 #9AEC79 #79D3EC
square
#CB79EC #EC9279 #9AEC79 #79D3EC
split-complementary
#CB79EC #D3EC79 #79EC92
monochromatic
#9B1DCD #B643E4 #CB79EC #E0AFF4 #F5E4FB
Accessibility & contrast
On white
2.81
#CB79EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#CB79EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79EC
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79EC | 1.00 | 2.81 | 7.49 | 7.49 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#C98AA8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cb79ec; /* rgb */ color: rgb(203, 121, 236); /* oklch */ color: oklch(70.8% 0.180 315.5);
Tailwind
colors: {
custom: {
50: '#dda2f2',
500: '#cb79ec',
950: '#000000',
},
}SCSS
$custom: #cb79ec; $custom-light: #dda2f2; $custom-dark: #000000;
JSON
{
"hex": "#cb79ec",
"rgb": {
"r": 203,
"g": 121,
"b": 236
},
"hsl": {
"h": 282.783,
"s": 75.163,
"l": 70
},
"oklch": {
"l": 0.70808,
"c": 0.18011,
"h": 315.5
},
"luminance": 0.32427
}Semantic roles & 50–950 ramp
primary
#CB79EC
secondary
#DAF0D0
accent
#D70E48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85