#997FE3#997FE3
#997FE3 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.146 H 294.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #997FE3 |
|---|---|
| RGB | rgb(153, 127, 227) |
| HSL | hsl(256, 64%, 69%) |
| HSV | hsv(256, 44%, 89%) |
| CMYK | cmyk(32.6%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(59.43, 31.84, -47.47) |
| CIE-LCH | lch(59.43, 57.16, 303.85°) |
| OKLab | oklab(66.31% 0.0595 -0.1334) |
| OKLCH | oklch(66.31% 0.146 294) |
| XYZ | xyz(34.5879, 27.4965, 76.1432) |
| Luminance | 0.2750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.50
Perrywinkle
#8F8CE7
ΔE00 5.23
Periwinkle (survey)
#8E82FE
ΔE00 5.23
Lavender Blue
#8B88F8
ΔE00 5.86
Light Urple
#B36FF6
ΔE00 6.94
Light Purple
#BF77F6
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FE3 #C9E37F
analogous
#7F97E3 #997FE3 #CB7FE3
triadic
#997FE3 #E3997F #7FE399
tetradic
#997FE3 #E37F97 #C9E37F #7FE3CB
square
#997FE3 #E37F97 #C9E37F #7FE3CB
split-complementary
#997FE3 #E3CB7F #97E37F
monochromatic
#502ABE #714DD8 #997FE3 #C1B1EE #E9E3F9
Accessibility & contrast
On white
3.23
#997FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#997FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FE3
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FE3 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F90E7
Deuteranopia (green-blind)
#638DE1
Tritanopia (blue-blind)
#8892A6
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #997fe3; /* rgb */ color: rgb(153, 127, 227); /* oklch */ color: oklch(66.3% 0.146 294.0);
Tailwind
colors: {
custom: {
50: '#baa4ec',
500: '#997fe3',
950: '#000000',
},
}SCSS
$custom: #997fe3; $custom-light: #baa4ec; $custom-dark: #000000;
JSON
{
"hex": "#997fe3",
"rgb": {
"r": 153,
"g": 127,
"b": 227
},
"hsl": {
"h": 255.6,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.66305,
"c": 0.14606,
"h": 294
},
"luminance": 0.27497
}Semantic roles & 50–950 ramp
primary
#997FE3
secondary
#E6EDD0
accent
#CC1A9E
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84