#9B79F2#9B79F2
#9B79F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.175 H 294.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9B79F2 |
|---|---|
| RGB | rgb(155, 121, 242) |
| HSL | hsl(257, 82%, 71%) |
| HSV | hsv(257, 50%, 95%) |
| CMYK | cmyk(36%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(59.02, 39.65, -56.44) |
| CIE-LCH | lch(59.02, 68.98, 305.08°) |
| OKLab | oklab(66.3% 0.0713 -0.1596) |
| OKLCH | oklch(66.3% 0.175 294.1) |
| XYZ | xyz(36.3778, 27.0534, 87.2924) |
| Luminance | 0.2705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.28
Periwinkle (survey)
#8E82FE
ΔE00 4.48
Light Urple
#B36FF6
ΔE00 5.20
Lavender Blue
#8B88F8
ΔE00 6.14
Light Purple
#BF77F6
ΔE00 6.85
Perrywinkle
#8F8CE7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B79F2 #D0F279
analogous
#7993F2 #9B79F2 #D879F2
triadic
#9B79F2 #F29B79 #79F29B
tetradic
#9B79F2 #F27993 #D0F279 #79F2D8
square
#9B79F2 #F27993 #D0F279 #79F2D8
split-complementary
#9B79F2 #F2D879 #93F279
monochromatic
#4D15DB #7141ED #9B79F2 #C5B1F7 #EAE3FC
Accessibility & contrast
On white
3.28
#9B79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#9B79F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B79F2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B79F2 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#8691AA
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9b79f2; /* rgb */ color: rgb(155, 121, 242); /* oklch */ color: oklch(66.3% 0.175 294.1);
Tailwind
colors: {
custom: {
50: '#bca0f7',
500: '#9b79f2',
950: '#000000',
},
}SCSS
$custom: #9b79f2; $custom-light: #bca0f7; $custom-dark: #000000;
JSON
{
"hex": "#9b79f2",
"rgb": {
"r": 155,
"g": 121,
"b": 242
},
"hsl": {
"h": 256.86,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.663,
"c": 0.1748,
"h": 294.1
},
"luminance": 0.27054
}Semantic roles & 50–950 ramp
primary
#9B79F2
secondary
#EAF3D3
accent
#DF07A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85