#997DEE#997DEE
#997DEE is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.164 H 292.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #997DEE |
|---|---|
| RGB | rgb(153, 125, 238) |
| HSL | hsl(255, 77%, 71%) |
| HSV | hsv(255, 47%, 93%) |
| CMYK | cmyk(35.7%, 47.5%, 0%, 6.7%) |
| CIE-LAB | lab(59.54, 35.84, -53.42) |
| CIE-LCH | lch(59.54, 64.33, 303.86°) |
| OKLab | oklab(66.57% 0.0635 -0.1508) |
| OKLCH | oklch(66.57% 0.164 292.8) |
| XYZ | xyz(35.8991, 27.6118, 84.3105) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.94
Mediumpurple
#9370DB
ΔE00 4.62
Lavender Blue
#8B88F8
ΔE00 5.21
Perrywinkle
#8F8CE7
ΔE00 5.64
Light Urple
#B36FF6
ΔE00 6.23
Light Purple
#BF77F6
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997DEE #D2EE7D
analogous
#7D99EE #997DEE #D17DEE
triadic
#997DEE #EE997D #7DEE99
tetradic
#997DEE #EE7D99 #D2EE7D #7DEED1
square
#997DEE #EE7D99 #D2EE7D #7DEED1
split-complementary
#997DEE #EED17D #99EE7D
monochromatic
#4A1CD5 #6F47E7 #997DEE #C3B3F5 #EAE4FB
Accessibility & contrast
On white
3.22
#997DEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#997DEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997DEE
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997DEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997DEE | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#8493AA
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #997dee; /* rgb */ color: rgb(153, 125, 238); /* oklch */ color: oklch(66.6% 0.164 292.8);
Tailwind
colors: {
custom: {
50: '#bba3f4',
500: '#997dee',
950: '#000000',
},
}SCSS
$custom: #997dee; $custom-light: #bba3f4; $custom-dark: #000000;
JSON
{
"hex": "#997dee",
"rgb": {
"r": 153,
"g": 125,
"b": 238
},
"hsl": {
"h": 254.867,
"s": 76.871,
"l": 71.176
},
"oklch": {
"l": 0.6657,
"c": 0.1636,
"h": 292.8
},
"luminance": 0.27613
}Semantic roles & 50–950 ramp
primary
#997DEE
secondary
#EBF2D5
accent
#D90CA6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85