#998FC2#998FC2
#998FC2 is a light, moderate violet. Relative luminance 0.303; OKLCH L 67.7% C 0.075 H 293.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #998FC2 |
|---|---|
| RGB | rgb(153, 143, 194) |
| HSL | hsl(252, 29%, 66%) |
| HSV | hsv(252, 26%, 76%) |
| CMYK | cmyk(21.1%, 26.3%, 0%, 23.9%) |
| CIE-LAB | lab(61.92, 14.46, -25.08) |
| CIE-LCH | lch(61.92, 28.95, 299.97°) |
| OKLab | oklab(67.73% 0.0297 -0.069) |
| OKLCH | oklch(67.73% 0.075 293.3) |
| XYZ | xyz(32.6947, 30.3119, 55.1568) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.31
Pale Purple
#B790D4
ΔE00 7.39
Heather
#A484AC
ΔE00 7.99
Wisteria
#A87DC2
ΔE00 8.16
Perrywinkle
#8F8CE7
ΔE00 8.86
Dusty Lavender
#AC86A8
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998FC2 #B8C28F
analogous
#8F9EC2 #998FC2 #B28FC2
triadic
#998FC2 #C2998F #8FC299
tetradic
#998FC2 #C28F9E #B8C28F #8FC2B2
square
#998FC2 #C28F9E #B8C28F #8FC2B2
split-complementary
#998FC2 #C2B28F #9EC28F
monochromatic
#584C8B #7567AC #998FC2 #BDB7D8 #E1DEED
Accessibility & contrast
On white
2.97
#998FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#998FC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #998FC2
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998FC2 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#8495C1
Tritanopia (blue-blind)
#9197A1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #998fc2; /* rgb */ color: rgb(153, 143, 194); /* oklch */ color: oklch(67.7% 0.075 293.3);
Tailwind
colors: {
custom: {
50: '#b7afd4',
500: '#998fc2',
950: '#000000',
},
}SCSS
$custom: #998fc2; $custom-light: #b7afd4; $custom-dark: #000000;
JSON
{
"hex": "#998fc2",
"rgb": {
"r": 153,
"g": 143,
"b": 194
},
"hsl": {
"h": 251.765,
"s": 29.48,
"l": 66.078
},
"oklch": {
"l": 0.67727,
"c": 0.07507,
"h": 293.3
},
"luminance": 0.30312
}Semantic roles & 50–950 ramp
primary
#998FC2
secondary
#DBDFCE
accent
#A83D93
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83