#9B87F3#9B87F3
#9B87F3 is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.8% C 0.155 H 290.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9B87F3 |
|---|---|
| RGB | rgb(155, 135, 243) |
| HSL | hsl(251, 82%, 74%) |
| HSV | hsv(251, 44%, 95%) |
| CMYK | cmyk(36.2%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(62.31, 31.94, -51.77) |
| CIE-LCH | lch(62.31, 60.83, 301.68°) |
| OKLab | oklab(68.78% 0.0537 -0.1459) |
| OKLCH | oklch(68.78% 0.155 290.2) |
| XYZ | xyz(38.3549, 30.7666, 88.6944) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.39
Lavender Blue
#8B88F8
ΔE00 3.63
Perrywinkle
#8F8CE7
ΔE00 3.66
Periwinkle Blue
#8F99FB
ΔE00 6.94
Mediumpurple
#9370DB
ΔE00 7.34
Liliac
#C48EFD
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B87F3 #DFF387
analogous
#87A9F3 #9B87F3 #D187F3
triadic
#9B87F3 #F39B87 #87F39B
tetradic
#9B87F3 #F387A9 #DFF387 #87F3D1
square
#9B87F3 #F387A9 #DFF387 #87F3D1
split-complementary
#9B87F3 #F3D187 #A9F387
monochromatic
#3E18E8 #6D4FED #9B87F3 #C9BFF9 #E8E3FC
Accessibility & contrast
On white
2.94
#9B87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#9B87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B87F3
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B87F3 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#859CB1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9b87f3; /* rgb */ color: rgb(155, 135, 243); /* oklch */ color: oklch(68.8% 0.155 290.2);
Tailwind
colors: {
custom: {
50: '#bcaaf7',
500: '#9b87f3',
950: '#000000',
},
}SCSS
$custom: #9b87f3; $custom-light: #bcaaf7; $custom-dark: #000000;
JSON
{
"hex": "#9b87f3",
"rgb": {
"r": 155,
"g": 135,
"b": 243
},
"hsl": {
"h": 251.111,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.68784,
"c": 0.15547,
"h": 290.2
},
"luminance": 0.30768
}Semantic roles & 50–950 ramp
primary
#9B87F3
secondary
#EFF4D7
accent
#DE07B6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85