#CB79FE#CB79FE
#CB79FE is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.8% C 0.199 H 310.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79FE |
|---|---|
| RGB | rgb(203, 121, 254) |
| HSL | hsl(277, 99%, 74%) |
| HSV | hsv(277, 52%, 100%) |
| CMYK | cmyk(20.1%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.59, 54.52, -53.91) |
| CIE-LCH | lch(64.59, 76.67, 315.32°) |
| OKLab | oklab(71.76% 0.1303 -0.1509) |
| OKLCH | oklch(71.76% 0.199 310.8) |
| XYZ | xyz(49.3521, 33.5280, 97.6184) |
| Luminance | 0.3353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.19
Easter Purple
#C071FE
ΔE00 2.78
Light Urple
#B36FF6
ΔE00 4.92
Liliac
#C48EFD
ΔE00 5.06
Bright Lavender
#C760FF
ΔE00 5.19
Bright Lilac
#C95EFB
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79FE #ACFE79
analogous
#8879FE #CB79FE #FE79EF
triadic
#CB79FE #FECB79 #79FECB
tetradic
#CB79FE #FE8879 #ACFE79 #79EFFE
square
#CB79FE #FE8879 #ACFE79 #79EFFE
split-complementary
#CB79FE #EFFE79 #79FE88
monochromatic
#9B02FB #B33CFE #CB79FE #E3B6FE #F3E1FF
Accessibility & contrast
On white
2.73
#CB79FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CB79FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79FE
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79FE | 1.00 | 2.73 | 7.71 | 7.71 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6F9EFB
Tritanopia (blue-blind)
#C590B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb79fe; /* rgb */ color: rgb(203, 121, 254); /* oklch */ color: oklch(71.8% 0.199 310.8);
Tailwind
colors: {
custom: {
50: '#dda2ff',
500: '#cb79fe',
950: '#000000',
},
}SCSS
$custom: #cb79fe; $custom-light: #dda2ff; $custom-dark: #000000;
JSON
{
"hex": "#cb79fe",
"rgb": {
"r": 203,
"g": 121,
"b": 254
},
"hsl": {
"h": 276.992,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.71756,
"c": 0.19939,
"h": 310.8
},
"luminance": 0.33527
}Semantic roles & 50–950 ramp
primary
#CB79FE
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86