#998DC4#998DC4
#998DC4 is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.4% C 0.081 H 294.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #998DC4 |
|---|---|
| RGB | rgb(153, 141, 196) |
| HSL | hsl(253, 32%, 66%) |
| HSV | hsv(253, 28%, 77%) |
| CMYK | cmyk(21.9%, 28.1%, 0%, 23.1%) |
| CIE-LAB | lab(61.49, 16.08, -26.88) |
| CIE-LCH | lch(61.49, 31.32, 300.89°) |
| OKLab | oklab(67.42% 0.0332 -0.074) |
| OKLCH | oklch(67.42% 0.081 294.1) |
| XYZ | xyz(32.6233, 29.8072, 56.2485) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.30
Pale Purple
#B790D4
ΔE00 6.97
Wisteria
#A87DC2
ΔE00 7.43
Heather
#A484AC
ΔE00 8.04
Perrywinkle
#8F8CE7
ΔE00 8.24
Deep Lilac
#966EBD
ΔE00 10.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998DC4 #B8C48D
analogous
#8D9CC4 #998DC4 #B48DC4
triadic
#998DC4 #C4998D #8DC499
tetradic
#998DC4 #C48D9C #B8C48D #8DC4B4
square
#998DC4 #C48D9C #B8C48D #8DC4B4
split-complementary
#998DC4 #C4B48D #9CC48D
monochromatic
#58498D #7565AF #998DC4 #BDB5D9 #E1DEEE
Accessibility & contrast
On white
3.02
#998DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#998DC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998DC4
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998DC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998DC4 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#8194C2
Tritanopia (blue-blind)
#9096A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #998dc4; /* rgb */ color: rgb(153, 141, 196); /* oklch */ color: oklch(67.4% 0.081 294.1);
Tailwind
colors: {
custom: {
50: '#b8aed6',
500: '#998dc4',
950: '#000000',
},
}SCSS
$custom: #998dc4; $custom-light: #b8aed6; $custom-dark: #000000;
JSON
{
"hex": "#998dc4",
"rgb": {
"r": 153,
"g": 141,
"b": 196
},
"hsl": {
"h": 253.091,
"s": 31.792,
"l": 66.078
},
"oklch": {
"l": 0.67417,
"c": 0.08113,
"h": 294.1
},
"luminance": 0.29808
}Semantic roles & 50–950 ramp
primary
#998DC4
secondary
#DBDFCD
accent
#AB3B92
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83