#CB79FB#CB79FB
#CB79FB is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.6% C 0.196 H 311.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79FB |
|---|---|
| RGB | rgb(203, 121, 251) |
| HSL | hsl(278, 94%, 73%) |
| HSV | hsv(278, 52%, 98%) |
| CMYK | cmyk(19.1%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(64.43, 53.88, -52.51) |
| CIE-LCH | lch(64.43, 75.23, 315.74°) |
| OKLab | oklab(71.59% 0.1301 -0.1468) |
| OKLCH | oklch(71.59% 0.196 311.5) |
| XYZ | xyz(48.8754, 33.3373, 95.1081) |
| Luminance | 0.3334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 4.99
Liliac
#C48EFD
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.25
Bright Lilac
#C95EFB
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79FB #A9FB79
analogous
#8A79FB #CB79FB #FB79EA
triadic
#CB79FB #FBCB79 #79FBCB
tetradic
#CB79FB #FB8A79 #A9FB79 #79EAFB
square
#CB79FB #FB8A79 #A9FB79 #79EAFB
split-complementary
#CB79FB #EAFB79 #79FB8A
monochromatic
#9C07F2 #B43EF9 #CB79FB #E2B4FD #F3E1FE
Accessibility & contrast
On white
2.74
#CB79FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CB79FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79FB
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79FB | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C68FAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb79fb; /* rgb */ color: rgb(203, 121, 251); /* oklch */ color: oklch(71.6% 0.196 311.5);
Tailwind
colors: {
custom: {
50: '#dda2fd',
500: '#cb79fb',
950: '#000000',
},
}SCSS
$custom: #cb79fb; $custom-light: #dda2fd; $custom-dark: #000000;
JSON
{
"hex": "#cb79fb",
"rgb": {
"r": 203,
"g": 121,
"b": 251
},
"hsl": {
"h": 277.846,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.71593,
"c": 0.19615,
"h": 311.5
},
"luminance": 0.33336
}Semantic roles & 50–950 ramp
primary
#CB79FB
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86