#998FBF#998FBF
#998FBF is a light, moderate violet. Relative luminance 0.302; OKLCH L 67.6% C 0.071 H 294.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #998FBF |
|---|---|
| RGB | rgb(153, 143, 191) |
| HSL | hsl(253, 27%, 65%) |
| HSV | hsv(253, 25%, 75%) |
| CMYK | cmyk(19.9%, 25.1%, 0%, 25.1%) |
| CIE-LAB | lab(61.81, 13.76, -23.57) |
| CIE-LCH | lch(61.81, 27.29, 300.28°) |
| OKLab | oklab(67.6% 0.0288 -0.0647) |
| OKLCH | oklch(67.6% 0.071 294) |
| XYZ | xyz(32.3612, 30.1785, 53.4002) |
| Luminance | 0.3018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.62
Heather
#A484AC
ΔE00 7.55
Pale Purple
#B790D4
ΔE00 7.64
Wisteria
#A87DC2
ΔE00 8.33
Perrywinkle
#8F8CE7
ΔE00 9.61
Dusty Lavender
#AC86A8
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998FBF #B5BF8F
analogous
#8F9DBF #998FBF #B18FBF
triadic
#998FBF #BF998F #8FBF99
tetradic
#998FBF #BF8F9D #B5BF8F #8FBFB1
square
#998FBF #BF8F9D #B5BF8F #8FBFB1
split-complementary
#998FBF #BFB18F #9DBF8F
monochromatic
#594D87 #7668A9 #998FBF #BCB6D5 #E0DDEC
Accessibility & contrast
On white
2.98
#998FBF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#998FBF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #998FBF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998FBF | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8496C1
Deuteranopia (green-blind)
#8595BE
Tritanopia (blue-blind)
#9297A0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #998fbf; /* rgb */ color: rgb(153, 143, 191); /* oklch */ color: oklch(67.6% 0.071 294.0);
Tailwind
colors: {
custom: {
50: '#b7afd2',
500: '#998fbf',
950: '#000000',
},
}SCSS
$custom: #998fbf; $custom-light: #b7afd2; $custom-dark: #000000;
JSON
{
"hex": "#998fbf",
"rgb": {
"r": 153,
"g": 143,
"b": 191
},
"hsl": {
"h": 252.5,
"s": 27.273,
"l": 65.49
},
"oklch": {
"l": 0.67601,
"c": 0.07078,
"h": 294
},
"luminance": 0.30179
}Semantic roles & 50–950 ramp
primary
#998FBF
secondary
#DADDCD
accent
#A64091
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82