#9B79FB#9B79FB
#9B79FB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.186 H 292.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9B79FB |
|---|---|
| RGB | rgb(155, 121, 251) |
| HSL | hsl(256, 94%, 73%) |
| HSV | hsv(256, 52%, 98%) |
| CMYK | cmyk(38.2%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(59.53, 42.00, -60.60) |
| CIE-LCH | lch(59.53, 73.74, 304.73°) |
| OKLab | oklab(66.84% 0.0719 -0.1718) |
| OKLCH | oklch(66.84% 0.186 292.7) |
| XYZ | xyz(37.7629, 27.6074, 94.5872) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.93
Mediumpurple
#9370DB
ΔE00 5.34
Light Urple
#B36FF6
ΔE00 5.44
Lavender Blue
#8B88F8
ΔE00 5.87
Easter Purple
#C071FE
ΔE00 7.02
Light Purple
#BF77F6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B79FB #D9FB79
analogous
#7998FB #9B79FB #DC79FB
triadic
#9B79FB #FB9B79 #79FB9B
tetradic
#9B79FB #FB7998 #D9FB79 #79FBDC
square
#9B79FB #FB7998 #D9FB79 #79FBDC
split-complementary
#9B79FB #FBDC79 #98FB79
monochromatic
#4507F2 #6F3EF9 #9B79FB #C7B4FD #E9E1FE
Accessibility & contrast
On white
3.22
#9B79FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#9B79FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B79FB
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B79FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B79FB | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#8294AF
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9b79fb; /* rgb */ color: rgb(155, 121, 251); /* oklch */ color: oklch(66.8% 0.186 292.7);
Tailwind
colors: {
custom: {
50: '#bda0fd',
500: '#9b79fb',
950: '#000000',
},
}SCSS
$custom: #9b79fb; $custom-light: #bda0fd; $custom-dark: #000000;
JSON
{
"hex": "#9b79fb",
"rgb": {
"r": 155,
"g": 121,
"b": 251
},
"hsl": {
"h": 255.692,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.66843,
"c": 0.18624,
"h": 292.7
},
"luminance": 0.27608
}Semantic roles & 50–950 ramp
primary
#9B79FB
secondary
#EEF6D5
accent
#E600A9
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86