#997BD2#997BD2
#997BD2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.7% C 0.130 H 298.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #997BD2 |
|---|---|
| RGB | rgb(153, 123, 210) |
| HSL | hsl(261, 49%, 65%) |
| HSV | hsv(261, 41%, 82%) |
| CMYK | cmyk(27.1%, 41.4%, 0%, 17.6%) |
| CIE-LAB | lab(57.65, 29.85, -40.75) |
| CIE-LCH | lch(57.65, 50.51, 306.22°) |
| OKLab | oklab(64.68% 0.0621 -0.1139) |
| OKLCH | oklch(64.68% 0.13 298.6) |
| XYZ | xyz(31.8500, 25.5911, 64.2219) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.11
Deep Lilac
#966EBD
ΔE00 5.23
Wisteria
#A87DC2
ΔE00 5.83
Perrywinkle
#8F8CE7
ΔE00 7.46
Light Urple
#B36FF6
ΔE00 7.60
Soft Purple
#A66FB5
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997BD2 #B4D27B
analogous
#7B88D2 #997BD2 #C57BD2
triadic
#997BD2 #D2997B #7BD299
tetradic
#997BD2 #D27B88 #B4D27B #7BD2C5
square
#997BD2 #D27B88 #B4D27B #7BD2C5
split-complementary
#997BD2 #D2C57B #88D27B
monochromatic
#59369D #764DC2 #997BD2 #BCA9E2 #E0D6F1
Accessibility & contrast
On white
3.43
#997BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#997BD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997BD2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997BD2 | 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)
#638AD5
Deuteranopia (green-blind)
#698AD0
Tritanopia (blue-blind)
#8E8A9C
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #997bd2; /* rgb */ color: rgb(153, 123, 210); /* oklch */ color: oklch(64.7% 0.130 298.6);
Tailwind
colors: {
custom: {
50: '#b9a1e0',
500: '#997bd2',
950: '#000000',
},
}SCSS
$custom: #997bd2; $custom-light: #b9a1e0; $custom-dark: #000000;
JSON
{
"hex": "#997bd2",
"rgb": {
"r": 153,
"g": 123,
"b": 210
},
"hsl": {
"h": 260.69,
"s": 49.153,
"l": 65.294
},
"oklch": {
"l": 0.64684,
"c": 0.1297,
"h": 298.6
},
"luminance": 0.25591
}Semantic roles & 50–950 ramp
primary
#997BD2
secondary
#D9E3C6
accent
#BC298A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83