#998AC5#998AC5
#998AC5 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.9% C 0.087 H 295.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #998AC5 |
|---|---|
| RGB | rgb(153, 138, 197) |
| HSL | hsl(255, 34%, 66%) |
| HSV | hsv(255, 30%, 77%) |
| CMYK | cmyk(22.3%, 29.9%, 0%, 22.7%) |
| CIE-LAB | lab(60.76, 18.04, -28.56) |
| CIE-LCH | lch(60.76, 33.78, 302.29°) |
| OKLab | oklab(66.87% 0.0378 -0.0788) |
| OKLCH | oklch(66.87% 0.087 295.6) |
| XYZ | xyz(32.3011, 28.9802, 56.7045) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 6.48
Pale Purple
#B790D4
ΔE00 6.65
Lavender
#B39DDB
ΔE00 6.66
Perrywinkle
#8F8CE7
ΔE00 7.91
Heather
#A484AC
ΔE00 8.00
Deep Lilac
#966EBD
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998AC5 #B6C58A
analogous
#8A98C5 #998AC5 #B68AC5
triadic
#998AC5 #C5998A #8AC599
tetradic
#998AC5 #C58A98 #B6C58A #8AC5B6
square
#998AC5 #C58A98 #B6C58A #8AC5B6
split-complementary
#998AC5 #C5B68A #98C58A
monochromatic
#59468E #7561B1 #998AC5 #BDB3D9 #E0DCEE
Accessibility & contrast
On white
3.09
#998AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#998AC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998AC5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998AC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998AC5 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#7E92C3
Tritanopia (blue-blind)
#90949F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #998ac5; /* rgb */ color: rgb(153, 138, 197); /* oklch */ color: oklch(66.9% 0.087 295.6);
Tailwind
colors: {
custom: {
50: '#b8acd6',
500: '#998ac5',
950: '#000000',
},
}SCSS
$custom: #998ac5; $custom-light: #b8acd6; $custom-dark: #000000;
JSON
{
"hex": "#998ac5",
"rgb": {
"r": 153,
"g": 138,
"b": 197
},
"hsl": {
"h": 255.254,
"s": 33.714,
"l": 65.686
},
"oklch": {
"l": 0.66874,
"c": 0.08741,
"h": 295.6
},
"luminance": 0.2898
}Semantic roles & 50–950 ramp
primary
#998AC5
secondary
#DADFCC
accent
#AD398F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83