#9E98B2#9E98B2
#9E98B2 is a light, muted violet. Relative luminance 0.329; OKLCH L 69.3% C 0.038 H 296.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9E98B2 |
|---|---|
| RGB | rgb(158, 152, 178) |
| HSL | hsl(254, 14%, 65%) |
| HSV | hsv(254, 15%, 70%) |
| CMYK | cmyk(11.2%, 14.6%, 0%, 30.2%) |
| CIE-LAB | lab(64.11, 7.39, -12.72) |
| CIE-LCH | lch(64.11, 14.71, 300.18°) |
| OKLab | oklab(69.34% 0.0167 -0.0343) |
| OKLCH | oklch(69.34% 0.038 296) |
| XYZ | xyz(33.3631, 32.9398, 46.7112) |
| Luminance | 0.3294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 9.80
Purpley Grey
#947E94
ΔE00 9.84
Lavender
#B39DDB
ΔE00 10.47
Dusty Lavender
#AC86A8
ΔE00 10.56
Lilac
#C8A2C8
ΔE00 11.27
Pale Purple
#B790D4
ΔE00 12.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E98B2 #ACB298
analogous
#989FB2 #9E98B2 #AB98B2
triadic
#9E98B2 #B29E98 #98B29E
tetradic
#9E98B2 #B2989F #ACB298 #98B2AB
square
#9E98B2 #B2989F #ACB298 #98B2AB
split-complementary
#9E98B2 #B2AB98 #9FB298
monochromatic
#605977 #7D7598 #9E98B2 #BFBBCC #E0DEE6
Accessibility & contrast
On white
2.77
#9E98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#9E98B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E98B2
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E98B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E98B2 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#939CB3
Deuteranopia (green-blind)
#949BB1
Tritanopia (blue-blind)
#9B9CA1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9e98b2; /* rgb */ color: rgb(158, 152, 178); /* oklch */ color: oklch(69.3% 0.038 296.0);
Tailwind
colors: {
custom: {
50: '#bab6c9',
500: '#9e98b2',
950: '#000000',
},
}SCSS
$custom: #9e98b2; $custom-light: #bab6c9; $custom-dark: #000000;
JSON
{
"hex": "#9e98b2",
"rgb": {
"r": 158,
"g": 152,
"b": 178
},
"hsl": {
"h": 253.846,
"s": 14.444,
"l": 64.706
},
"oklch": {
"l": 0.69339,
"c": 0.03821,
"h": 296
},
"luminance": 0.3294
}Semantic roles & 50–950 ramp
primary
#9E98B2
secondary
#D5D7CE
accent
#994D87
background
#FBFBFC
surface
#F6F6F8
border
#D0D0D1
text
#111113
muted
#808082