#997EF1#997EF1
#997EF1 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.166 H 292.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #997EF1 |
|---|---|
| RGB | rgb(153, 126, 241) |
| HSL | hsl(254, 80%, 72%) |
| HSV | hsv(254, 48%, 95%) |
| CMYK | cmyk(36.5%, 47.7%, 0%, 5.5%) |
| CIE-LAB | lab(59.93, 36.06, -54.46) |
| CIE-LCH | lch(59.93, 65.31, 303.51°) |
| OKLab | oklab(66.92% 0.0625 -0.1538) |
| OKLCH | oklch(66.92% 0.166 292.1) |
| XYZ | xyz(36.4707, 28.0440, 86.6935) |
| Luminance | 0.2804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.49
Lavender Blue
#8B88F8
ΔE00 4.82
Mediumpurple
#9370DB
ΔE00 5.10
Perrywinkle
#8F8CE7
ΔE00 5.44
Light Urple
#B36FF6
ΔE00 6.42
Light Purple
#BF77F6
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EF1 #D6F17E
analogous
#7E9DF1 #997EF1 #D37EF1
triadic
#997EF1 #F1997E #7EF199
tetradic
#997EF1 #F17E9D #D6F17E #7EF1D3
square
#997EF1 #F17E9D #D6F17E #7EF1D3
split-complementary
#997EF1 #F1D37E #9DF17E
monochromatic
#4618DD #6D47EB #997EF1 #C5B5F7 #E9E3FC
Accessibility & contrast
On white
3.18
#997EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#997EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EF1
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EF1 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#8395AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997ef1; /* rgb */ color: rgb(153, 126, 241); /* oklch */ color: oklch(66.9% 0.166 292.1);
Tailwind
colors: {
custom: {
50: '#bba4f6',
500: '#997ef1',
950: '#000000',
},
}SCSS
$custom: #997ef1; $custom-light: #bba4f6; $custom-dark: #000000;
JSON
{
"hex": "#997ef1",
"rgb": {
"r": 153,
"g": 126,
"b": 241
},
"hsl": {
"h": 254.087,
"s": 80.42,
"l": 71.961
},
"oklch": {
"l": 0.66916,
"c": 0.16605,
"h": 292.1
},
"luminance": 0.28045
}Semantic roles & 50–950 ramp
primary
#997EF1
secondary
#EDF4D7
accent
#DD09AB
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85