#9B89E5#9B89E5
#9B89E5 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.4% C 0.134 H 291.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9B89E5 |
|---|---|
| RGB | rgb(155, 137, 229) |
| HSL | hsl(252, 64%, 72%) |
| HSV | hsv(252, 40%, 90%) |
| CMYK | cmyk(32.3%, 40.2%, 0%, 10.2%) |
| CIE-LAB | lab(62.10, 27.14, -44.36) |
| CIE-LCH | lch(62.10, 52.01, 301.46°) |
| OKLab | oklab(68.4% 0.0488 -0.1243) |
| OKLCH | oklch(68.4% 0.134 291.4) |
| XYZ | xyz(36.6024, 30.5163, 78.0753) |
| Luminance | 0.3052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.28
Lavender Blue
#8B88F8
ΔE00 5.04
Periwinkle (survey)
#8E82FE
ΔE00 5.43
Periwinkle Blue
#8F99FB
ΔE00 7.40
Mediumpurple
#9370DB
ΔE00 7.40
Liliac
#C48EFD
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B89E5 #D3E589
analogous
#89A5E5 #9B89E5 #C989E5
triadic
#9B89E5 #E59B89 #89E59B
tetradic
#9B89E5 #E589A5 #D3E589 #89E5C9
square
#9B89E5 #E589A5 #D3E589 #89E5C9
split-complementary
#9B89E5 #E5C989 #A5E589
monochromatic
#4A2CC8 #7157DA #9B89E5 #C6BBF0 #EAE6F9
Accessibility & contrast
On white
2.96
#9B89E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#9B89E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B89E5
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B89E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B89E5 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#6E94E3
Tritanopia (blue-blind)
#8A9AAC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b89e5; /* rgb */ color: rgb(155, 137, 229); /* oklch */ color: oklch(68.4% 0.134 291.4);
Tailwind
colors: {
custom: {
50: '#bbabed',
500: '#9b89e5',
950: '#000000',
},
}SCSS
$custom: #9b89e5; $custom-light: #bbabed; $custom-dark: #000000;
JSON
{
"hex": "#9b89e5",
"rgb": {
"r": 155,
"g": 137,
"b": 229
},
"hsl": {
"h": 251.739,
"s": 63.889,
"l": 71.765
},
"oklch": {
"l": 0.68397,
"c": 0.13357,
"h": 291.4
},
"luminance": 0.30517
}Semantic roles & 50–950 ramp
primary
#9B89E5
secondary
#ECF1D9
accent
#CC1AA9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84