#997AF4#997AF4
#997AF4 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.176 H 292.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #997AF4 |
|---|---|
| RGB | rgb(153, 122, 244) |
| HSL | hsl(255, 85%, 72%) |
| HSV | hsv(255, 50%, 96%) |
| CMYK | cmyk(37.3%, 50%, 0%, 4.3%) |
| CIE-LAB | lab(59.18, 39.12, -57.31) |
| CIE-LCH | lch(59.18, 69.39, 304.32°) |
| OKLab | oklab(66.41% 0.0678 -0.1622) |
| OKLCH | oklch(66.41% 0.176 292.7) |
| XYZ | xyz(36.4212, 27.2222, 88.9059) |
| Luminance | 0.2722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.85
Mediumpurple
#9370DB
ΔE00 4.65
Lavender Blue
#8B88F8
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 5.73
Perrywinkle
#8F8CE7
ΔE00 6.55
Mediumslateblue
#7B68EE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997AF4 #D5F47A
analogous
#7A98F4 #997AF4 #D67AF4
triadic
#997AF4 #F4997A #7AF499
tetradic
#997AF4 #F47A98 #D5F47A #7AF4D6
square
#997AF4 #F47A98 #D5F47A #7AF4D6
split-complementary
#997AF4 #F4D67A #98F47A
monochromatic
#4713E1 #6E41EF #997AF4 #C4B3F9 #E9E3FD
Accessibility & contrast
On white
3.26
#997AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#997AF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997AF4
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997AF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997AF4 | 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)
#4A90F8
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#8293AC
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #997af4; /* rgb */ color: rgb(153, 122, 244); /* oklch */ color: oklch(66.4% 0.176 292.7);
Tailwind
colors: {
custom: {
50: '#bba1f8',
500: '#997af4',
950: '#000000',
},
}SCSS
$custom: #997af4; $custom-light: #bba1f8; $custom-dark: #000000;
JSON
{
"hex": "#997af4",
"rgb": {
"r": 153,
"g": 122,
"b": 244
},
"hsl": {
"h": 255.246,
"s": 84.722,
"l": 71.765
},
"oklch": {
"l": 0.66409,
"c": 0.1758,
"h": 292.7
},
"luminance": 0.27223
}Semantic roles & 50–950 ramp
primary
#997AF4
secondary
#EDF4D5
accent
#E104A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85