#9B7BF9#9B7BF9
#9B7BF9 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.181 H 292.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7BF9 |
|---|---|
| RGB | rgb(155, 123, 249) |
| HSL | hsl(255, 91%, 73%) |
| HSV | hsv(255, 51%, 98%) |
| CMYK | cmyk(37.8%, 50.6%, 0%, 2.4%) |
| CIE-LAB | lab(59.86, 40.35, -58.97) |
| CIE-LCH | lch(59.86, 71.46, 304.38°) |
| OKLab | oklab(67.05% 0.0693 -0.167) |
| OKLCH | oklch(67.05% 0.181 292.5) |
| XYZ | xyz(37.6949, 27.9731, 93.0175) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.64
Mediumpurple
#9370DB
ΔE00 5.38
Lavender Blue
#8B88F8
ΔE00 5.46
Light Urple
#B36FF6
ΔE00 5.67
Perrywinkle
#8F8CE7
ΔE00 6.65
Light Purple
#BF77F6
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7BF9 #D9F97B
analogous
#7B9AF9 #9B7BF9 #DA7BF9
triadic
#9B7BF9 #F99B7B #7BF99B
tetradic
#9B7BF9 #F97B9A #D9F97B #7BF9DA
square
#9B7BF9 #F97B9A #D9F97B #7BF9DA
split-complementary
#9B7BF9 #F9DA7B #9AF97B
monochromatic
#450BEF #6F40F6 #9B7BF9 #C7B6FC #E9E2FE
Accessibility & contrast
On white
3.18
#9B7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9B7BF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7BF9
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7BF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7BF9 | 1.00 | 3.18 | 6.59 | 6.59 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#8395AF
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b7bf9; /* rgb */ color: rgb(155, 123, 249); /* oklch */ color: oklch(67.1% 0.181 292.5);
Tailwind
colors: {
custom: {
50: '#bda2fc',
500: '#9b7bf9',
950: '#000000',
},
}SCSS
$custom: #9b7bf9; $custom-light: #bda2fc; $custom-dark: #000000;
JSON
{
"hex": "#9b7bf9",
"rgb": {
"r": 155,
"g": 123,
"b": 249
},
"hsl": {
"h": 255.238,
"s": 91.304,
"l": 72.941
},
"oklch": {
"l": 0.67054,
"c": 0.18083,
"h": 292.5
},
"luminance": 0.27974
}Semantic roles & 50–950 ramp
primary
#9B7BF9
secondary
#EEF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85