#997EE2#997EE2
#997EE2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.1% C 0.146 H 294.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #997EE2 |
|---|---|
| RGB | rgb(153, 126, 226) |
| HSL | hsl(256, 63%, 69%) |
| HSV | hsv(256, 44%, 89%) |
| CMYK | cmyk(32.3%, 44.2%, 0%, 11.4%) |
| CIE-LAB | lab(59.14, 32.15, -47.36) |
| CIE-LCH | lch(59.14, 57.25, 304.17°) |
| OKLab | oklab(66.07% 0.0606 -0.1331) |
| OKLCH | oklch(66.07% 0.146 294.5) |
| XYZ | xyz(34.3217, 27.1844, 75.3756) |
| Luminance | 0.2718 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.20
Periwinkle (survey)
#8E82FE
ΔE00 5.45
Perrywinkle
#8F8CE7
ΔE00 5.53
Lavender Blue
#8B88F8
ΔE00 6.13
Light Urple
#B36FF6
ΔE00 6.78
Light Purple
#BF77F6
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EE2 #C7E27E
analogous
#7E95E2 #997EE2 #CB7EE2
triadic
#997EE2 #E2997E #7EE299
tetradic
#997EE2 #E27E95 #C7E27E #7EE2CB
square
#997EE2 #E27E95 #C7E27E #7EE2CB
split-complementary
#997EE2 #E2CB7E #95E27E
monochromatic
#512ABB #714CD7 #997EE2 #C1B0ED #E8E2F8
Accessibility & contrast
On white
3.26
#997EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#997EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EE2
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EE2 | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#628DE0
Tritanopia (blue-blind)
#8891A5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #997ee2; /* rgb */ color: rgb(153, 126, 226); /* oklch */ color: oklch(66.1% 0.146 294.5);
Tailwind
colors: {
custom: {
50: '#baa3eb',
500: '#997ee2',
950: '#000000',
},
}SCSS
$custom: #997ee2; $custom-light: #baa3eb; $custom-dark: #000000;
JSON
{
"hex": "#997ee2",
"rgb": {
"r": 153,
"g": 126,
"b": 226
},
"hsl": {
"h": 256.2,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.66072,
"c": 0.14627,
"h": 294.5
},
"luminance": 0.27185
}Semantic roles & 50–950 ramp
primary
#997EE2
secondary
#E5EDCF
accent
#CB1A9B
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84