#997FFA#997FFA
#997FFA is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.6% C 0.176 H 290.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #997FFA |
|---|---|
| RGB | rgb(153, 127, 250) |
| HSL | hsl(253, 92%, 74%) |
| HSV | hsv(253, 49%, 98%) |
| CMYK | cmyk(38.8%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(60.65, 37.88, -58.28) |
| CIE-LCH | lch(60.65, 69.50, 303.02°) |
| OKLab | oklab(67.62% 0.0621 -0.165) |
| OKLCH | oklch(67.62% 0.176 290.6) |
| XYZ | xyz(37.9769, 28.8521, 93.9920) |
| Luminance | 0.2885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.60
Lavender Blue
#8B88F8
ΔE00 4.28
Perrywinkle
#8F8CE7
ΔE00 5.58
Mediumpurple
#9370DB
ΔE00 6.18
Light Urple
#B36FF6
ΔE00 6.77
Light Purple
#BF77F6
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FFA #E0FA7F
analogous
#7FA3FA #997FFA #D77FFA
triadic
#997FFA #FA997F #7FFA99
tetradic
#997FFA #FA7FA3 #E0FA7F #7FFAD7
square
#997FFA #FA7FA3 #E0FA7F #7FFAD7
split-complementary
#997FFA #FAD77F #A3FA7F
monochromatic
#3B0AF5 #6A44F8 #997FFA #C8BAFC #E8E2FE
Accessibility & contrast
On white
3.10
#997FFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#997FFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FFA
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FFA | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#7F98B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #997ffa; /* rgb */ color: rgb(153, 127, 250); /* oklch */ color: oklch(67.6% 0.176 290.6);
Tailwind
colors: {
custom: {
50: '#bba4fc',
500: '#997ffa',
950: '#000000',
},
}SCSS
$custom: #997ffa; $custom-light: #bba4fc; $custom-dark: #000000;
JSON
{
"hex": "#997ffa",
"rgb": {
"r": 153,
"g": 127,
"b": 250
},
"hsl": {
"h": 252.683,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.67617,
"c": 0.17633,
"h": 290.6
},
"luminance": 0.28853
}Semantic roles & 50–950 ramp
primary
#997FFA
secondary
#EFF6D5
accent
#E600B5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86