#998FAF#998FAF
#998FAF is a light, muted violet. Relative luminance 0.295; OKLCH L 67.0% C 0.048 H 299.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #998FAF |
|---|---|
| RGB | rgb(153, 143, 175) |
| HSL | hsl(259, 17%, 62%) |
| HSV | hsv(259, 18%, 69%) |
| CMYK | cmyk(12.6%, 18.3%, 0%, 31.4%) |
| CIE-LAB | lab(61.23, 10.15, -15.41) |
| CIE-LCH | lch(61.23, 18.45, 303.38°) |
| OKLab | oklab(66.96% 0.0235 -0.0418) |
| OKLCH | oklch(66.96% 0.048 299.4) |
| XYZ | xyz(30.6957, 29.5123, 44.6284) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.88
Purpley Grey
#947E94
ΔE00 7.64
Dusty Lavender
#AC86A8
ΔE00 8.33
Lavender
#B39DDB
ΔE00 9.74
Pale Purple
#B790D4
ΔE00 10.44
Wisteria
#A87DC2
ΔE00 10.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998FAF #A5AF8F
analogous
#8F95AF #998FAF #A98FAF
triadic
#998FAF #AF998F #8FAF99
tetradic
#998FAF #AF8F95 #A5AF8F #8FAFA9
square
#998FAF #AF8F95 #A5AF8F #8FAFA9
split-complementary
#998FAF #AFA98F #95AF8F
monochromatic
#5C5172 #786B96 #998FAF #BAB3C9 #DAD6E2
Accessibility & contrast
On white
3.04
#998FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#998FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998FAF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998FAF | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8994B0
Deuteranopia (green-blind)
#8A94AE
Tritanopia (blue-blind)
#95949A
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #998faf; /* rgb */ color: rgb(153, 143, 175); /* oklch */ color: oklch(67.0% 0.048 299.4);
Tailwind
colors: {
custom: {
50: '#b7afc7',
500: '#998faf',
950: '#000000',
},
}SCSS
$custom: #998faf; $custom-light: #b7afc7; $custom-dark: #000000;
JSON
{
"hex": "#998faf",
"rgb": {
"r": 153,
"g": 143,
"b": 175
},
"hsl": {
"h": 258.75,
"s": 16.667,
"l": 62.353
},
"oklch": {
"l": 0.66963,
"c": 0.04796,
"h": 299.4
},
"luminance": 0.29512
}Semantic roles & 50–950 ramp
primary
#998FAF
secondary
#CFD3C7
accent
#9B4B82
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82