#997EF0#997EF0
#997EF0 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.165 H 292.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #997EF0 |
|---|---|
| RGB | rgb(153, 126, 240) |
| HSL | hsl(254, 79%, 72%) |
| HSV | hsv(254, 48%, 94%) |
| CMYK | cmyk(36.3%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(59.87, 35.79, -53.99) |
| CIE-LCH | lch(59.87, 64.78, 303.54°) |
| OKLab | oklab(66.86% 0.0624 -0.1525) |
| OKLCH | oklch(66.86% 0.165 292.3) |
| XYZ | xyz(36.3218, 27.9844, 85.9090) |
| Luminance | 0.2798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.59
Lavender Blue
#8B88F8
ΔE00 4.88
Mediumpurple
#9370DB
ΔE00 5.01
Perrywinkle
#8F8CE7
ΔE00 5.42
Light Urple
#B36FF6
ΔE00 6.42
Light Purple
#BF77F6
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997EF0 #D5F07E
analogous
#7E9CF0 #997EF0 #D27EF0
triadic
#997EF0 #F0997E #7EF099
tetradic
#997EF0 #F07E9C #D5F07E #7EF0D2
square
#997EF0 #F07E9C #D5F07E #7EF0D2
split-complementary
#997EF0 #F0D27E #9CF07E
monochromatic
#4719DA #6E47EA #997EF0 #C4B5F6 #E9E4FC
Accessibility & contrast
On white
3.18
#997EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#997EF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997EF0
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997EF0 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#8394AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997ef0; /* rgb */ color: rgb(153, 126, 240); /* oklch */ color: oklch(66.9% 0.165 292.3);
Tailwind
colors: {
custom: {
50: '#bba4f5',
500: '#997ef0',
950: '#000000',
},
}SCSS
$custom: #997ef0; $custom-light: #bba4f5; $custom-dark: #000000;
JSON
{
"hex": "#997ef0",
"rgb": {
"r": 153,
"g": 126,
"b": 240
},
"hsl": {
"h": 254.211,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.66858,
"c": 0.16474,
"h": 292.3
},
"luminance": 0.27985
}Semantic roles & 50–950 ramp
primary
#997EF0
secondary
#EDF3D6
accent
#DB0AAA
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85