#997BF2#997BF2
#997BF2 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.172 H 292.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #997BF2 |
|---|---|
| RGB | rgb(153, 123, 242) |
| HSL | hsl(255, 82%, 72%) |
| HSV | hsv(255, 49%, 95%) |
| CMYK | cmyk(36.8%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(59.30, 38.03, -56.02) |
| CIE-LCH | lch(59.30, 67.71, 304.17°) |
| OKLab | oklab(66.46% 0.0664 -0.1584) |
| OKLCH | oklch(66.46% 0.172 292.7) |
| XYZ | xyz(36.2426, 27.3482, 87.3564) |
| Luminance | 0.2735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.84
Mediumpurple
#9370DB
ΔE00 4.60
Lavender Blue
#8B88F8
ΔE00 5.42
Light Urple
#B36FF6
ΔE00 5.87
Perrywinkle
#8F8CE7
ΔE00 6.24
Light Purple
#BF77F6
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997BF2 #D4F27B
analogous
#7B99F2 #997BF2 #D57BF2
triadic
#997BF2 #F2997B #7BF299
tetradic
#997BF2 #F27B99 #D4F27B #7BF2D5
square
#997BF2 #F27B99 #D4F27B #7BF2D5
split-complementary
#997BF2 #F2D57B #99F27B
monochromatic
#4816DD #6E43ED #997BF2 #C4B3F7 #E9E3FC
Accessibility & contrast
On white
3.25
#997BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#997BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997BF2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997BF2 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#528DEF
Tritanopia (blue-blind)
#8393AB
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #997bf2; /* rgb */ color: rgb(153, 123, 242); /* oklch */ color: oklch(66.5% 0.172 292.7);
Tailwind
colors: {
custom: {
50: '#bba2f7',
500: '#997bf2',
950: '#000000',
},
}SCSS
$custom: #997bf2; $custom-light: #bba2f7; $custom-dark: #000000;
JSON
{
"hex": "#997bf2",
"rgb": {
"r": 153,
"g": 123,
"b": 242
},
"hsl": {
"h": 255.126,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.6646,
"c": 0.17176,
"h": 292.7
},
"luminance": 0.27349
}Semantic roles & 50–950 ramp
primary
#997BF2
secondary
#ECF4D5
accent
#DE07A8
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85