#998CC2#998CC2
#998CC2 is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.1% C 0.080 H 295.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #998CC2 |
|---|---|
| RGB | rgb(153, 140, 194) |
| HSL | hsl(254, 31%, 65%) |
| HSV | hsv(254, 28%, 76%) |
| CMYK | cmyk(21.1%, 27.8%, 0%, 23.9%) |
| CIE-LAB | lab(61.15, 16.18, -26.27) |
| CIE-LCH | lch(61.15, 30.85, 301.64°) |
| OKLab | oklab(67.13% 0.034 -0.0723) |
| OKLCH | oklch(67.13% 0.08 295.2) |
| XYZ | xyz(32.2504, 29.4232, 55.0087) |
| Luminance | 0.2942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.52
Pale Purple
#B790D4
ΔE00 6.93
Wisteria
#A87DC2
ΔE00 7.13
Heather
#A484AC
ΔE00 7.57
Perrywinkle
#8F8CE7
ΔE00 8.66
Deep Lilac
#966EBD
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998CC2 #B5C28C
analogous
#8C9AC2 #998CC2 #B48CC2
triadic
#998CC2 #C2998C #8CC299
tetradic
#998CC2 #C28C9A #B5C28C #8CC2B4
square
#998CC2 #C28C9A #B5C28C #8CC2B4
split-complementary
#998CC2 #C2B48C #9AC28C
monochromatic
#59498A #7664AD #998CC2 #BCB4D7 #E0DCEC
Accessibility & contrast
On white
3.05
#998CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#998CC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998CC2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998CC2 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#91959F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #998cc2; /* rgb */ color: rgb(153, 140, 194); /* oklch */ color: oklch(67.1% 0.080 295.2);
Tailwind
colors: {
custom: {
50: '#b7add4',
500: '#998cc2',
950: '#000000',
},
}SCSS
$custom: #998cc2; $custom-light: #b7add4; $custom-dark: #000000;
JSON
{
"hex": "#998cc2",
"rgb": {
"r": 153,
"g": 140,
"b": 194
},
"hsl": {
"h": 254.444,
"s": 30.682,
"l": 65.49
},
"oklch": {
"l": 0.67134,
"c": 0.07991,
"h": 295.2
},
"luminance": 0.29424
}Semantic roles & 50–950 ramp
primary
#998CC2
secondary
#DADECC
accent
#A93C8F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83