#997FEA#997FEA
#997FEA is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.7% C 0.155 H 292.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #997FEA |
|---|---|
| RGB | rgb(153, 127, 234) |
| HSL | hsl(255, 72%, 71%) |
| HSV | hsv(255, 46%, 92%) |
| CMYK | cmyk(34.6%, 45.7%, 0%, 8.2%) |
| CIE-LAB | lab(59.79, 33.65, -50.80) |
| CIE-LCH | lch(59.79, 60.93, 303.52°) |
| OKLab | oklab(66.69% 0.0604 -0.1431) |
| OKLCH | oklch(66.69% 0.155 292.9) |
| XYZ | xyz(35.5737, 27.8908, 81.3352) |
| Luminance | 0.2789 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.23
Mediumpurple
#9370DB
ΔE00 4.80
Perrywinkle
#8F8CE7
ΔE00 5.09
Lavender Blue
#8B88F8
ΔE00 5.13
Light Urple
#B36FF6
ΔE00 6.69
Light Purple
#BF77F6
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FEA #D0EA7F
analogous
#7F9AEA #997FEA #CE7FEA
triadic
#997FEA #EA997F #7FEA99
tetradic
#997FEA #EA7F9A #D0EA7F #7FEACE
square
#997FEA #EA7F9A #D0EA7F #7FEACE
split-complementary
#997FEA #EACE7F #9AEA7F
monochromatic
#4B22CD #6F4AE1 #997FEA #C3B4F3 #EAE5FB
Accessibility & contrast
On white
3.19
#997FEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#997FEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FEA
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FEA | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#8694A9
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997fea; /* rgb */ color: rgb(153, 127, 234); /* oklch */ color: oklch(66.7% 0.155 292.9);
Tailwind
colors: {
custom: {
50: '#baa4f1',
500: '#997fea',
950: '#000000',
},
}SCSS
$custom: #997fea; $custom-light: #baa4f1; $custom-dark: #000000;
JSON
{
"hex": "#997fea",
"rgb": {
"r": 153,
"g": 127,
"b": 234
},
"hsl": {
"h": 254.579,
"s": 71.812,
"l": 70.784
},
"oklch": {
"l": 0.66692,
"c": 0.15535,
"h": 292.9
},
"luminance": 0.27892
}Semantic roles & 50–950 ramp
primary
#997FEA
secondary
#EAF1D4
accent
#D412A5
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85