#997FBD#997FBD
#997FBD is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.095 H 303.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #997FBD |
|---|---|
| RGB | rgb(153, 127, 189) |
| HSL | hsl(265, 32%, 62%) |
| HSV | hsv(265, 33%, 74%) |
| CMYK | cmyk(19%, 32.8%, 0%, 25.9%) |
| CIE-LAB | lab(57.68, 22.51, -28.80) |
| CIE-LCH | lch(57.68, 36.55, 308.01°) |
| OKLab | oklab(64.4% 0.0518 -0.0795) |
| OKLCH | oklch(64.4% 0.095 303.1) |
| XYZ | xyz(29.9097, 25.6252, 51.5047) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.73
Deep Lilac
#966EBD
ΔE00 5.70
Soft Purple
#A66FB5
ΔE00 6.61
Heather
#A484AC
ΔE00 6.81
Pale Purple
#B790D4
ΔE00 7.26
Dark Lilac
#9C6DA5
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FBD #A3BD7F
analogous
#7F84BD #997FBD #B87FBD
triadic
#997FBD #BD997F #7FBD99
tetradic
#997FBD #BD7F84 #A3BD7F #7FBDB8
square
#997FBD #BD7F84 #A3BD7F #7FBDB8
split-complementary
#997FBD #BDB87F #84BD7F
monochromatic
#5C4280 #7957A8 #997FBD #B9A7D2 #D9D0E7
Accessibility & contrast
On white
3.43
#997FBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#997FBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FBD
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FBD | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#778ABB
Tritanopia (blue-blind)
#938896
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #997fbd; /* rgb */ color: rgb(153, 127, 189); /* oklch */ color: oklch(64.4% 0.095 303.1);
Tailwind
colors: {
custom: {
50: '#b8a4d1',
500: '#997fbd',
950: '#000000',
},
}SCSS
$custom: #997fbd; $custom-light: #b8a4d1; $custom-dark: #000000;
JSON
{
"hex": "#997fbd",
"rgb": {
"r": 153,
"g": 127,
"b": 189
},
"hsl": {
"h": 265.161,
"s": 31.959,
"l": 61.961
},
"oklch": {
"l": 0.64401,
"c": 0.09482,
"h": 303.1
},
"luminance": 0.25625
}Semantic roles & 50–950 ramp
primary
#997FBD
secondary
#CED7C0
accent
#AB3B7C
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82