#998BB2#998BB2
#998BB2 is a light, muted violet. Relative luminance 0.285; OKLCH L 66.3% C 0.059 H 301.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #998BB2 |
|---|---|
| RGB | rgb(153, 139, 178) |
| HSL | hsl(262, 20%, 62%) |
| HSV | hsv(262, 22%, 70%) |
| CMYK | cmyk(14%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(60.29, 13.10, -18.53) |
| CIE-LCH | lch(60.29, 22.69, 305.25°) |
| OKLab | oklab(66.27% 0.0306 -0.0505) |
| OKLCH | oklch(66.27% 0.059 301.2) |
| XYZ | xyz(30.4038, 28.4519, 46.0009) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 5.23
Dusty Lavender
#AC86A8
ΔE00 7.37
Purpley Grey
#947E94
ΔE00 7.74
Wisteria
#A87DC2
ΔE00 8.48
Lavender
#B39DDB
ΔE00 8.77
Pale Purple
#B790D4
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998BB2 #A4B28B
analogous
#8B91B2 #998BB2 #AC8BB2
triadic
#998BB2 #B2998B #8BB299
tetradic
#998BB2 #B28B91 #A4B28B #8BB2AC
square
#998BB2 #B28B91 #A4B28B #8BB2AC
split-complementary
#998BB2 #B2AC8B #91B28B
monochromatic
#5C4E75 #79669A #998BB2 #B9B0CA #DAD5E3
Accessibility & contrast
On white
3.14
#998BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#998BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998BB2
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998BB2 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#8691B1
Tritanopia (blue-blind)
#959198
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #998bb2; /* rgb */ color: rgb(153, 139, 178); /* oklch */ color: oklch(66.3% 0.059 301.2);
Tailwind
colors: {
custom: {
50: '#b7acc9',
500: '#998bb2',
950: '#000000',
},
}SCSS
$custom: #998bb2; $custom-light: #b7acc9; $custom-dark: #000000;
JSON
{
"hex": "#998bb2",
"rgb": {
"r": 153,
"g": 139,
"b": 178
},
"hsl": {
"h": 261.538,
"s": 20.207,
"l": 62.157
},
"oklch": {
"l": 0.66272,
"c": 0.05901,
"h": 301.2
},
"luminance": 0.28452
}Semantic roles & 50–950 ramp
primary
#998BB2
secondary
#CED4C5
accent
#9F477F
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82