#9D87F7#9D87F7
#9D87F7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.161 H 290.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9D87F7 |
|---|---|
| RGB | rgb(157, 135, 247) |
| HSL | hsl(252, 88%, 75%) |
| HSV | hsv(252, 45%, 97%) |
| CMYK | cmyk(36.4%, 45.3%, 0%, 3.1%) |
| CIE-LAB | lab(62.68, 33.50, -53.36) |
| CIE-LCH | lch(62.68, 63.01, 302.12°) |
| OKLab | oklab(69.17% 0.0566 -0.1505) |
| OKLCH | oklch(69.17% 0.161 290.6) |
| XYZ | xyz(39.3526, 31.2104, 91.9285) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.35
Lavender Blue
#8B88F8
ΔE00 3.82
Perrywinkle
#8F8CE7
ΔE00 4.18
Periwinkle Blue
#8F99FB
ΔE00 7.08
Mediumpurple
#9370DB
ΔE00 7.56
Liliac
#C48EFD
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D87F7 #E1F787
analogous
#87A9F7 #9D87F7 #D587F7
triadic
#9D87F7 #F79D87 #87F79D
tetradic
#9D87F7 #F787A9 #E1F787 #87F7D5
square
#9D87F7 #F787A9 #E1F787 #87F7D5
split-complementary
#9D87F7 #F7D587 #A9F787
monochromatic
#3F14EF #6E4EF3 #9D87F7 #CCC0FB #E8E2FD
Accessibility & contrast
On white
2.90
#9D87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#9D87F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D87F7
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D87F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D87F7 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#869DB3
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9d87f7; /* rgb */ color: rgb(157, 135, 247); /* oklch */ color: oklch(69.2% 0.161 290.6);
Tailwind
colors: {
custom: {
50: '#bdaafa',
500: '#9d87f7',
950: '#000000',
},
}SCSS
$custom: #9d87f7; $custom-light: #bdaafa; $custom-dark: #000000;
JSON
{
"hex": "#9d87f7",
"rgb": {
"r": 157,
"g": 135,
"b": 247
},
"hsl": {
"h": 251.786,
"s": 87.5,
"l": 74.902
},
"oklch": {
"l": 0.69174,
"c": 0.1608,
"h": 290.6
},
"luminance": 0.31211
}Semantic roles & 50–950 ramp
primary
#9D87F7
secondary
#EFF5D6
accent
#E401B8
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85