#9A87BF#9A87BF
#9A87BF is a light, moderate violet. Relative luminance 0.280; OKLCH L 66.1% C 0.084 H 299.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9A87BF |
|---|---|
| RGB | rgb(154, 135, 191) |
| HSL | hsl(260, 30%, 64%) |
| HSV | hsv(260, 29%, 75%) |
| CMYK | cmyk(19.4%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(59.85, 18.67, -26.57) |
| CIE-LCH | lch(59.85, 32.47, 305.10°) |
| OKLab | oklab(66.11% 0.0417 -0.0731) |
| OKLCH | oklch(66.11% 0.084 299.7) |
| XYZ | xyz(31.3924, 27.9595, 53.0230) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.41
Heather
#A484AC
ΔE00 6.47
Pale Purple
#B790D4
ΔE00 6.51
Lavender
#B39DDB
ΔE00 7.35
Deep Lilac
#966EBD
ΔE00 8.36
Soft Purple
#A66FB5
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A87BF #ACBF87
analogous
#8790BF #9A87BF #B687BF
triadic
#9A87BF #BF9A87 #87BF9A
tetradic
#9A87BF #BF8790 #ACBF87 #87BFB6
square
#9A87BF #BF8790 #ACBF87 #87BFB6
split-complementary
#9A87BF #BFB687 #90BF87
monochromatic
#5C4785 #785FAA #9A87BF #BCAFD4 #DDD7EA
Accessibility & contrast
On white
3.19
#9A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9A87BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A87BF
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A87BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A87BF | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 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)
#7B90C1
Deuteranopia (green-blind)
#7E90BD
Tritanopia (blue-blind)
#94909B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9a87bf; /* rgb */ color: rgb(154, 135, 191); /* oklch */ color: oklch(66.1% 0.084 299.7);
Tailwind
colors: {
custom: {
50: '#b8aad2',
500: '#9a87bf',
950: '#000000',
},
}SCSS
$custom: #9a87bf; $custom-light: #b8aad2; $custom-dark: #000000;
JSON
{
"hex": "#9a87bf",
"rgb": {
"r": 154,
"g": 135,
"b": 191
},
"hsl": {
"h": 260.357,
"s": 30.435,
"l": 63.922
},
"oklch": {
"l": 0.66114,
"c": 0.08416,
"h": 299.7
},
"luminance": 0.2796
}Semantic roles & 50–950 ramp
primary
#9A87BF
secondary
#D4DBC7
accent
#A93C84
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82