#997EE4#997EE4
#997EE4 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.2% C 0.149 H 294.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #997EE4 |
|---|---|
| RGB | rgb(153, 126, 228) |
| HSL | hsl(256, 65%, 69%) |
| HSV | hsv(256, 45%, 89%) |
| CMYK | cmyk(32.9%, 44.7%, 0%, 10.6%) |
| CIE-LAB | lab(59.25, 32.67, -48.32) |
| CIE-LCH | lch(59.25, 58.33, 304.06°) |
| OKLab | oklab(66.18% 0.0609 -0.1359) |
| OKLCH | oklch(66.18% 0.149 294.1) |
| XYZ | xyz(34.5978, 27.2948, 76.8294) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.25
Periwinkle (survey)
#8E82FE
ΔE00 5.15
Perrywinkle
#8F8CE7
ΔE00 5.46
Lavender Blue
#8B88F8
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 6.68
Light Purple
#BF77F6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EE4 #C9E47E
analogous
#7E96E4 #997EE4 #CC7EE4
triadic
#997EE4 #E4997E #7EE499
tetradic
#997EE4 #E47E96 #C9E47E #7EE4CC
square
#997EE4 #E47E96 #C9E47E #7EE4CC
split-complementary
#997EE4 #E4CC7E #96E47E
monochromatic
#5028C0 #714BD9 #997EE4 #C1B1EF #E9E3F9
Accessibility & contrast
On white
3.25
#997EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#997EE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EE4
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EE4 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#8891A6
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #997ee4; /* rgb */ color: rgb(153, 126, 228); /* oklch */ color: oklch(66.2% 0.149 294.1);
Tailwind
colors: {
custom: {
50: '#baa3ed',
500: '#997ee4',
950: '#000000',
},
}SCSS
$custom: #997ee4; $custom-light: #baa3ed; $custom-dark: #000000;
JSON
{
"hex": "#997ee4",
"rgb": {
"r": 153,
"g": 126,
"b": 228
},
"hsl": {
"h": 255.882,
"s": 65.385,
"l": 69.412
},
"oklch": {
"l": 0.66182,
"c": 0.14892,
"h": 294.1
},
"luminance": 0.27295
}Semantic roles & 50–950 ramp
primary
#997EE4
secondary
#E6EED0
accent
#CD189D
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84