#9B7CF6#9B7CF6
#9B7CF6 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.176 H 292.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7CF6 |
|---|---|
| RGB | rgb(155, 124, 246) |
| HSL | hsl(255, 87%, 73%) |
| HSV | hsv(255, 50%, 96%) |
| CMYK | cmyk(37%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(59.92, 39.00, -57.22) |
| CIE-LCH | lch(59.92, 69.25, 304.27°) |
| OKLab | oklab(67.04% 0.0679 -0.1619) |
| OKLCH | oklch(67.04% 0.176 292.7) |
| XYZ | xyz(37.3554, 28.0368, 90.6144) |
| Luminance | 0.2804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.66
Mediumpurple
#9370DB
ΔE00 5.21
Lavender Blue
#8B88F8
ΔE00 5.32
Light Urple
#B36FF6
ΔE00 5.77
Perrywinkle
#8F8CE7
ΔE00 6.30
Light Purple
#BF77F6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7CF6 #D7F67C
analogous
#7C9AF6 #9B7CF6 #D87CF6
triadic
#9B7CF6 #F69B7C #7CF69B
tetradic
#9B7CF6 #F67C9A #D7F67C #7CF6D8
square
#9B7CF6 #F67C9A #D7F67C #7CF6D8
split-complementary
#9B7CF6 #F6D87C #9AF67C
monochromatic
#4710E8 #6F43F2 #9B7CF6 #C7B5FA #E9E2FD
Accessibility & contrast
On white
3.18
#9B7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#9B7CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7CF6
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7CF6 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#8494AE
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b7cf6; /* rgb */ color: rgb(155, 124, 246); /* oklch */ color: oklch(67.0% 0.176 292.7);
Tailwind
colors: {
custom: {
50: '#bca2fa',
500: '#9b7cf6',
950: '#000000',
},
}SCSS
$custom: #9b7cf6; $custom-light: #bca2fa; $custom-dark: #000000;
JSON
{
"hex": "#9b7cf6",
"rgb": {
"r": 155,
"g": 124,
"b": 246
},
"hsl": {
"h": 255.246,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.67042,
"c": 0.17553,
"h": 292.7
},
"luminance": 0.28038
}Semantic roles & 50–950 ramp
primary
#9B7CF6
secondary
#EDF5D6
accent
#E402AA
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85