#997FAC#997FAC
#997FAC is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.7% C 0.072 H 310.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #997FAC |
|---|---|
| RGB | rgb(153, 127, 172) |
| HSL | hsl(275, 21%, 59%) |
| HSV | hsv(275, 26%, 67%) |
| CMYK | cmyk(11%, 26.2%, 0%, 32.5%) |
| CIE-LAB | lab(57.01, 18.68, -20.12) |
| CIE-LCH | lch(57.01, 27.46, 312.89°) |
| OKLab | oklab(63.66% 0.047 -0.0548) |
| OKLCH | oklch(63.66% 0.072 310.6) |
| XYZ | xyz(28.1713, 24.9299, 42.3496) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 3.27
Wisteria
#A87DC2
ΔE00 5.89
Dusty Lavender
#AC86A8
ΔE00 6.08
Faded Purple
#916E99
ΔE00 6.17
Dark Lilac
#9C6DA5
ΔE00 6.44
Greyish Purple
#887191
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FAC #92AC7F
analogous
#827FAC #997FAC #AC7FA8
triadic
#997FAC #AC997F #7FAC99
tetradic
#997FAC #AC827F #92AC7F #7FA8AC
square
#997FAC #AC827F #92AC7F #7FA8AC
split-complementary
#997FAC #A8AC7F #7FAC82
monochromatic
#5B456B #7B5E90 #997FAC #B7A4C4 #D4C9DC
Accessibility & contrast
On white
3.51
#997FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#997FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FAC
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FAC | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7888AE
Deuteranopia (green-blind)
#7D89AB
Tritanopia (blue-blind)
#97858F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #997fac; /* rgb */ color: rgb(153, 127, 172); /* oklch */ color: oklch(63.7% 0.072 310.6);
Tailwind
colors: {
custom: {
50: '#b7a4c4',
500: '#997fac',
950: '#000000',
},
}SCSS
$custom: #997fac; $custom-light: #b7a4c4; $custom-dark: #000000;
JSON
{
"hex": "#997fac",
"rgb": {
"r": 153,
"g": 127,
"b": 172
},
"hsl": {
"h": 274.667,
"s": 21.327,
"l": 58.627
},
"oklch": {
"l": 0.63664,
"c": 0.07219,
"h": 310.6
},
"luminance": 0.2493
}Semantic roles & 50–950 ramp
primary
#997FAC
secondary
#C2CCBB
accent
#BE6A8D
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F12
muted
#807F81