#CB79F8#CB79F8
#CB79F8 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.193 H 312.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79F8 |
|---|---|
| RGB | rgb(203, 121, 248) |
| HSL | hsl(279, 90%, 72%) |
| HSV | hsv(279, 51%, 97%) |
| CMYK | cmyk(18.1%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(64.28, 53.25, -51.10) |
| CIE-LCH | lch(64.28, 73.80, 316.18°) |
| OKLab | oklab(71.43% 0.1298 -0.1427) |
| OKLCH | oklch(71.43% 0.193 312.3) |
| XYZ | xyz(48.4063, 33.1497, 92.6373) |
| Luminance | 0.3315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 5.10
Liliac
#C48EFD
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.36
Bright Lilac
#C95EFB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79F8 #A6F879
analogous
#8B79F8 #CB79F8 #F879E6
triadic
#CB79F8 #F8CB79 #79F8CB
tetradic
#CB79F8 #F88B79 #A6F879 #79E6F8
square
#CB79F8 #F88B79 #A6F879 #79E6F8
split-complementary
#CB79F8 #E6F879 #79F88B
monochromatic
#9C0CEA #B43FF5 #CB79F8 #E2B3FB #F4E2FD
Accessibility & contrast
On white
2.75
#CB79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#CB79F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79F8
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79F8 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#C68EAD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb79f8; /* rgb */ color: rgb(203, 121, 248); /* oklch */ color: oklch(71.4% 0.193 312.3);
Tailwind
colors: {
custom: {
50: '#dda2fb',
500: '#cb79f8',
950: '#000000',
},
}SCSS
$custom: #cb79f8; $custom-light: #dda2fb; $custom-dark: #000000;
JSON
{
"hex": "#cb79f8",
"rgb": {
"r": 203,
"g": 121,
"b": 248
},
"hsl": {
"h": 278.74,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.71432,
"c": 0.19293,
"h": 312.3
},
"luminance": 0.33149
}Semantic roles & 50–950 ramp
primary
#CB79F8
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85