#997EBA#997EBA
#997EBA is a light, moderate violet. Relative luminance 0.252; OKLCH L 64.1% C 0.093 H 304.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #997EBA |
|---|---|
| RGB | rgb(153, 126, 186) |
| HSL | hsl(267, 30%, 61%) |
| HSV | hsv(267, 32%, 73%) |
| CMYK | cmyk(17.7%, 32.3%, 0%, 27.1%) |
| CIE-LAB | lab(57.31, 22.39, -27.66) |
| CIE-LCH | lch(57.31, 35.59, 308.99°) |
| OKLab | oklab(64.08% 0.0525 -0.0762) |
| OKLCH | oklch(64.08% 0.093 304.5) |
| XYZ | xyz(29.4589, 25.2393, 49.7646) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.65
Deep Lilac
#966EBD
ΔE00 5.63
Soft Purple
#A66FB5
ΔE00 6.21
Heather
#A484AC
ΔE00 6.31
Dark Lilac
#9C6DA5
ΔE00 6.95
Pale Purple
#B790D4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EBA #9FBA7E
analogous
#7E81BA #997EBA #B77EBA
triadic
#997EBA #BA997E #7EBA99
tetradic
#997EBA #BA7E81 #9FBA7E #7EBAB7
square
#997EBA #BA7E81 #9FBA7E #7EBAB7
split-complementary
#997EBA #BAB77E #81BA7E
monochromatic
#5C427C #7A57A3 #997EBA #B9A6CF #D8CEE5
Accessibility & contrast
On white
3.47
#997EBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#997EBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EBA
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EBA | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7289BC
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#948794
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #997eba; /* rgb */ color: rgb(153, 126, 186); /* oklch */ color: oklch(64.1% 0.093 304.5);
Tailwind
colors: {
custom: {
50: '#b8a3cf',
500: '#997eba',
950: '#000000',
},
}SCSS
$custom: #997eba; $custom-light: #b8a3cf; $custom-dark: #000000;
JSON
{
"hex": "#997eba",
"rgb": {
"r": 153,
"g": 126,
"b": 186
},
"hsl": {
"h": 267,
"s": 30.303,
"l": 61.176
},
"oklch": {
"l": 0.64076,
"c": 0.09252,
"h": 304.5
},
"luminance": 0.25239
}Semantic roles & 50–950 ramp
primary
#997EBA
secondary
#CBD5BF
accent
#A93D78
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F13
muted
#807F82