#997DF2#997DF2
#997DF2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.169 H 292.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #997DF2 |
|---|---|
| RGB | rgb(153, 125, 242) |
| HSL | hsl(254, 82%, 72%) |
| HSV | hsv(254, 48%, 95%) |
| CMYK | cmyk(36.8%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(59.75, 36.89, -55.29) |
| CIE-LCH | lch(59.75, 66.47, 303.71°) |
| OKLab | oklab(66.8% 0.0639 -0.1563) |
| OKLCH | oklch(66.8% 0.169 292.2) |
| XYZ | xyz(36.4933, 27.8495, 87.4399) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.52
Lavender Blue
#8B88F8
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 4.99
Perrywinkle
#8F8CE7
ΔE00 5.72
Light Urple
#B36FF6
ΔE00 6.23
Light Purple
#BF77F6
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997DF2 #D6F27D
analogous
#7D9CF2 #997DF2 #D47DF2
triadic
#997DF2 #F2997D #7DF299
tetradic
#997DF2 #F27D9C #D6F27D #7DF2D4
square
#997DF2 #F27D9C #D6F27D #7DF2D4
split-complementary
#997DF2 #F2D47D #9CF27D
monochromatic
#4616DE #6D45EC #997DF2 #C5B5F8 #E9E3FC
Accessibility & contrast
On white
3.20
#997DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#997DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997DF2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997DF2 | 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)
#5192F6
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#8394AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997df2; /* rgb */ color: rgb(153, 125, 242); /* oklch */ color: oklch(66.8% 0.169 292.2);
Tailwind
colors: {
custom: {
50: '#bba3f7',
500: '#997df2',
950: '#000000',
},
}SCSS
$custom: #997df2; $custom-light: #bba3f7; $custom-dark: #000000;
JSON
{
"hex": "#997df2",
"rgb": {
"r": 153,
"g": 125,
"b": 242
},
"hsl": {
"h": 254.359,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.66802,
"c": 0.16883,
"h": 292.2
},
"luminance": 0.2785
}Semantic roles & 50–950 ramp
primary
#997DF2
secondary
#EDF4D7
accent
#DE07AB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85