#997EF5#997EF5
#997EF5 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.171 H 291.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #997EF5 |
|---|---|
| RGB | rgb(153, 126, 245) |
| HSL | hsl(254, 86%, 73%) |
| HSV | hsv(254, 49%, 96%) |
| CMYK | cmyk(37.6%, 48.6%, 0%, 3.9%) |
| CIE-LAB | lab(60.15, 37.11, -56.32) |
| CIE-LCH | lch(60.15, 67.45, 303.38°) |
| OKLab | oklab(67.15% 0.0629 -0.1593) |
| OKLCH | oklch(67.15% 0.171 291.5) |
| XYZ | xyz(37.0747, 28.2856, 89.8748) |
| Luminance | 0.2829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.10
Lavender Blue
#8B88F8
ΔE00 4.63
Mediumpurple
#9370DB
ΔE00 5.48
Perrywinkle
#8F8CE7
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 6.46
Light Purple
#BF77F6
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EF5 #DAF57E
analogous
#7E9FF5 #997EF5 #D47EF5
triadic
#997EF5 #F5997E #7EF599
tetradic
#997EF5 #F57E9F #DAF57E #7EF5D4
square
#997EF5 #F57E9F #DAF57E #7EF5D4
split-complementary
#997EF5 #F5D47E #9FF57E
monochromatic
#4212E7 #6C45F1 #997EF5 #C6B7F9 #E9E3FD
Accessibility & contrast
On white
3.15
#997EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#997EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EF5
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EF5 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#8196AE
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #997ef5; /* rgb */ color: rgb(153, 126, 245); /* oklch */ color: oklch(67.2% 0.171 291.5);
Tailwind
colors: {
custom: {
50: '#bba4f9',
500: '#997ef5',
950: '#000000',
},
}SCSS
$custom: #997ef5; $custom-light: #bba4f9; $custom-dark: #000000;
JSON
{
"hex": "#997ef5",
"rgb": {
"r": 153,
"g": 126,
"b": 245
},
"hsl": {
"h": 253.613,
"s": 85.612,
"l": 72.745
},
"oklch": {
"l": 0.6715,
"c": 0.17127,
"h": 291.5
},
"luminance": 0.28287
}Semantic roles & 50–950 ramp
primary
#997EF5
secondary
#EEF5D6
accent
#E203B0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85