#997FF6#997FF6
#997FF6 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.171 H 291.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #997FF6 |
|---|---|
| RGB | rgb(153, 127, 246) |
| HSL | hsl(253, 87%, 73%) |
| HSV | hsv(253, 48%, 96%) |
| CMYK | cmyk(37.8%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(60.43, 36.81, -56.42) |
| CIE-LCH | lch(60.43, 67.37, 303.12°) |
| OKLab | oklab(67.38% 0.0618 -0.1596) |
| OKLCH | oklch(67.38% 0.171 291.2) |
| XYZ | xyz(37.3563, 28.6039, 90.7238) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.89
Lavender Blue
#8B88F8
ΔE00 4.38
Perrywinkle
#8F8CE7
ΔE00 5.37
Mediumpurple
#9370DB
ΔE00 5.78
Light Urple
#B36FF6
ΔE00 6.68
Light Purple
#BF77F6
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FF6 #DCF67F
analogous
#7FA0F6 #997FF6 #D47FF6
triadic
#997FF6 #F6997F #7FF699
tetradic
#997FF6 #F67FA0 #DCF67F #7FF6D4
square
#997FF6 #F67FA0 #DCF67F #7FF6D4
split-complementary
#997FF6 #F6D47F #A0F67F
monochromatic
#4010EA #6B46F2 #997FF6 #C7B8FA #E8E2FD
Accessibility & contrast
On white
3.12
#997FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#997FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FF6
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FF6 | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#8197AF
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #997ff6; /* rgb */ color: rgb(153, 127, 246); /* oklch */ color: oklch(67.4% 0.171 291.2);
Tailwind
colors: {
custom: {
50: '#bba4fa',
500: '#997ff6',
950: '#000000',
},
}SCSS
$custom: #997ff6; $custom-light: #bba4fa; $custom-dark: #000000;
JSON
{
"hex": "#997ff6",
"rgb": {
"r": 153,
"g": 127,
"b": 246
},
"hsl": {
"h": 253.109,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.6738,
"c": 0.17111,
"h": 291.2
},
"luminance": 0.28605
}Semantic roles & 50–950 ramp
primary
#997FF6
secondary
#EEF5D6
accent
#E302B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85