#997AFC#997AFC
#997AFC is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.186 H 291.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #997AFC |
|---|---|
| RGB | rgb(153, 122, 252) |
| HSL | hsl(254, 96%, 73%) |
| HSV | hsv(254, 52%, 99%) |
| CMYK | cmyk(39.3%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(59.63, 41.24, -61.00) |
| CIE-LCH | lch(59.63, 73.64, 304.06°) |
| OKLab | oklab(66.89% 0.0683 -0.173) |
| OKLCH | oklch(66.89% 0.186 291.5) |
| XYZ | xyz(37.6623, 27.7186, 95.4425) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.41
Lavender Blue
#8B88F8
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.96
Perrywinkle
#8F8CE7
ΔE00 6.85
Mediumslateblue
#7B68EE
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997AFC #DDFC7A
analogous
#7A9CFC #997AFC #DA7AFC
triadic
#997AFC #FC997A #7AFC99
tetradic
#997AFC #FC7A9C #DDFC7A #7AFCDA
square
#997AFC #FC7A9C #DDFC7A #7AFCDA
split-complementary
#997AFC #FCDA7A #9CFC7A
monochromatic
#3F06F6 #6B3EFB #997AFC #C7B6FD #E8E1FE
Accessibility & contrast
On white
3.21
#997AFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#997AFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997AFC
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997AFC | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#7F95B0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997afc; /* rgb */ color: rgb(153, 122, 252); /* oklch */ color: oklch(66.9% 0.186 291.5);
Tailwind
colors: {
custom: {
50: '#bca1fe',
500: '#997afc',
950: '#000000',
},
}SCSS
$custom: #997afc; $custom-light: #bca1fe; $custom-dark: #000000;
JSON
{
"hex": "#997afc",
"rgb": {
"r": 153,
"g": 122,
"b": 252
},
"hsl": {
"h": 254.308,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.66894,
"c": 0.18603,
"h": 291.5
},
"luminance": 0.2772
}Semantic roles & 50–950 ramp
primary
#997AFC
secondary
#EEF7D4
accent
#E600AF
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F18
muted
#817E86