#997AE4#997AE4
#997AE4 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.155 H 295.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997AE4 |
|---|---|
| RGB | rgb(153, 122, 228) |
| HSL | hsl(258, 66%, 69%) |
| HSV | hsv(258, 46%, 89%) |
| CMYK | cmyk(32.9%, 46.5%, 0%, 10.6%) |
| CIE-LAB | lab(58.31, 34.95, -49.80) |
| CIE-LCH | lch(58.31, 60.84, 305.07°) |
| OKLab | oklab(65.48% 0.0662 -0.1402) |
| OKLCH | oklch(65.48% 0.155 295.3) |
| XYZ | xyz(34.0965, 26.2923, 76.6623) |
| Luminance | 0.2629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.20
Periwinkle (survey)
#8E82FE
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 5.94
Perrywinkle
#8F8CE7
ΔE00 6.52
Lavender Blue
#8B88F8
ΔE00 6.64
Light Purple
#BF77F6
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997AE4 #C5E47A
analogous
#7A90E4 #997AE4 #CE7AE4
triadic
#997AE4 #E4997A #7AE499
tetradic
#997AE4 #E47A90 #C5E47A #7AE4CE
square
#997AE4 #E47A90 #C5E47A #7AE4CE
split-complementary
#997AE4 #E4CE7A #90E47A
monochromatic
#5326BD #7247DA #997AE4 #C0ADEE #E7E0F9
Accessibility & contrast
On white
3.36
#997AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#997AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997AE4
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997AE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997AE4 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#5C8BE1
Tritanopia (blue-blind)
#888EA4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #997ae4; /* rgb */ color: rgb(153, 122, 228); /* oklch */ color: oklch(65.5% 0.155 295.3);
Tailwind
colors: {
custom: {
50: '#baa1ed',
500: '#997ae4',
950: '#000000',
},
}SCSS
$custom: #997ae4; $custom-light: #baa1ed; $custom-dark: #000000;
JSON
{
"hex": "#997ae4",
"rgb": {
"r": 153,
"g": 122,
"b": 228
},
"hsl": {
"h": 257.547,
"s": 66.25,
"l": 68.627
},
"oklch": {
"l": 0.6548,
"c": 0.15504,
"h": 295.3
},
"luminance": 0.26293
}Semantic roles & 50–950 ramp
primary
#997AE4
secondary
#E3EDCD
accent
#CE1799
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84