#CB79F6#CB79F6
#CB79F6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.191 H 312.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79F6 |
|---|---|
| RGB | rgb(203, 121, 246) |
| HSL | hsl(279, 87%, 72%) |
| HSV | hsv(279, 51%, 96%) |
| CMYK | cmyk(17.5%, 50.8%, 0%, 3.5%) |
| CIE-LAB | lab(64.18, 52.83, -50.15) |
| CIE-LCH | lch(64.18, 72.84, 316.49°) |
| OKLab | oklab(71.33% 0.1296 -0.14) |
| OKLCH | oklch(71.33% 0.191 312.8) |
| XYZ | xyz(48.0977, 33.0262, 91.0119) |
| Luminance | 0.3302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.33
Easter Purple
#C071FE
ΔE00 3.36
Light Urple
#B36FF6
ΔE00 5.20
Liliac
#C48EFD
ΔE00 5.26
Bright Lavender
#C760FF
ΔE00 5.45
Bright Lilac
#C95EFB
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79F6 #A4F679
analogous
#8D79F6 #CB79F6 #F679E3
triadic
#CB79F6 #F6CB79 #79F6CB
tetradic
#CB79F6 #F68D79 #A4F679 #79E3F6
square
#CB79F6 #F68D79 #A4F679 #79E3F6
split-complementary
#CB79F6 #E3F679 #79F68D
monochromatic
#9C0FE5 #B540F2 #CB79F6 #E1B2FA #F4E2FD
Accessibility & contrast
On white
2.76
#CB79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#CB79F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79F6
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79F6 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#C78DAC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb79f6; /* rgb */ color: rgb(203, 121, 246); /* oklch */ color: oklch(71.3% 0.191 312.8);
Tailwind
colors: {
custom: {
50: '#dda2fa',
500: '#cb79f6',
950: '#000000',
},
}SCSS
$custom: #cb79f6; $custom-light: #dda2fa; $custom-dark: #000000;
JSON
{
"hex": "#cb79f6",
"rgb": {
"r": 203,
"g": 121,
"b": 246
},
"hsl": {
"h": 279.36,
"s": 87.413,
"l": 71.961
},
"oklch": {
"l": 0.71326,
"c": 0.19078,
"h": 312.8
},
"luminance": 0.33025
}Semantic roles & 50–950 ramp
primary
#CB79F6
secondary
#E1F5D6
accent
#E4024F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85