#997AFE#997AFE
#997AFE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.189 H 291.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #997AFE |
|---|---|
| RGB | rgb(153, 122, 254) |
| HSL | hsl(254, 99%, 74%) |
| HSV | hsv(254, 52%, 100%) |
| CMYK | cmyk(39.8%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(59.75, 41.77, -61.92) |
| CIE-LCH | lch(59.75, 74.69, 304.01°) |
| OKLab | oklab(67.02% 0.0684 -0.1757) |
| OKLCH | oklch(67.02% 0.189 291.3) |
| XYZ | xyz(37.9809, 27.8460, 97.1204) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.35
Lavender Blue
#8B88F8
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 6.05
Perrywinkle
#8F8CE7
ΔE00 6.95
Mediumslateblue
#7B68EE
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997AFE #DFFE7A
analogous
#7A9DFE #997AFE #DB7AFE
triadic
#997AFE #FE997A #7AFE99
tetradic
#997AFE #FE7A9D #DFFE7A #7AFEDB
square
#997AFE #FE7A9D #DFFE7A #7AFEDB
split-complementary
#997AFE #FEDB7A #9DFE7A
monochromatic
#3D02FC #6A3DFE #997AFE #C8B7FE #E8E1FF
Accessibility & contrast
On white
3.20
#997AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#997AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997AFE
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997AFE | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#7E95B1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997afe; /* rgb */ color: rgb(153, 122, 254); /* oklch */ color: oklch(67.0% 0.189 291.3);
Tailwind
colors: {
custom: {
50: '#bca1ff',
500: '#997afe',
950: '#000000',
},
}SCSS
$custom: #997afe; $custom-light: #bca1ff; $custom-dark: #000000;
JSON
{
"hex": "#997afe",
"rgb": {
"r": 153,
"g": 122,
"b": 254
},
"hsl": {
"h": 254.091,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.67018,
"c": 0.18857,
"h": 291.3
},
"luminance": 0.27847
}Semantic roles & 50–950 ramp
primary
#997AFE
secondary
#EFF7D4
accent
#E600B0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86