#997FD2#997FD2
#997FD2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.4% C 0.123 H 297.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #997FD2 |
|---|---|
| RGB | rgb(153, 127, 210) |
| HSL | hsl(259, 48%, 66%) |
| HSV | hsv(259, 40%, 82%) |
| CMYK | cmyk(27.1%, 39.5%, 0%, 17.6%) |
| CIE-LAB | lab(58.61, 27.54, -39.24) |
| CIE-LCH | lch(58.61, 47.95, 305.06°) |
| OKLab | oklab(65.41% 0.0565 -0.1095) |
| OKLCH | oklch(65.41% 0.123 297.3) |
| XYZ | xyz(32.3564, 26.6039, 64.3907) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.20
Wisteria
#A87DC2
ΔE00 5.84
Deep Lilac
#966EBD
ΔE00 6.14
Perrywinkle
#8F8CE7
ΔE00 6.63
Pale Purple
#B790D4
ΔE00 7.99
Periwinkle (survey)
#8E82FE
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FD2 #B8D27F
analogous
#7F8ED2 #997FD2 #C27FD2
triadic
#997FD2 #D2997F #7FD299
tetradic
#997FD2 #D27F8E #B8D27F #7FD2C2
square
#997FD2 #D27F8E #B8D27F #7FD2C2
split-complementary
#997FD2 #D2C27F #8ED27F
monochromatic
#58389F #7552C2 #997FD2 #BDACE2 #E1DAF2
Accessibility & contrast
On white
3.32
#997FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#997FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FD2
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FD2 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#698DD5
Deuteranopia (green-blind)
#6D8CD0
Tritanopia (blue-blind)
#8E8D9E
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #997fd2; /* rgb */ color: rgb(153, 127, 210); /* oklch */ color: oklch(65.4% 0.123 297.3);
Tailwind
colors: {
custom: {
50: '#b9a4e0',
500: '#997fd2',
950: '#000000',
},
}SCSS
$custom: #997fd2; $custom-light: #b9a4e0; $custom-dark: #000000;
JSON
{
"hex": "#997fd2",
"rgb": {
"r": 153,
"g": 127,
"b": 210
},
"hsl": {
"h": 258.795,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.65411,
"c": 0.12324,
"h": 297.3
},
"luminance": 0.26604
}Semantic roles & 50–950 ramp
primary
#997FD2
secondary
#DBE4C9
accent
#BB2A8E
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83