#997CF6#997CF6
#997CF6 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.175 H 291.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #997CF6 |
|---|---|
| RGB | rgb(153, 124, 246) |
| HSL | hsl(254, 87%, 73%) |
| HSV | hsv(254, 50%, 96%) |
| CMYK | cmyk(37.8%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(59.74, 38.51, -57.52) |
| CIE-LCH | lch(59.74, 69.22, 303.81°) |
| OKLab | oklab(66.87% 0.0655 -0.1628) |
| OKLCH | oklch(66.87% 0.175 291.9) |
| XYZ | xyz(36.9746, 27.8405, 90.5966) |
| Luminance | 0.2784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.34
Lavender Blue
#8B88F8
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.21
Light Urple
#B36FF6
ΔE00 6.11
Perrywinkle
#8F8CE7
ΔE00 6.11
Light Purple
#BF77F6
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CF6 #D9F67C
analogous
#7C9CF6 #997CF6 #D67CF6
triadic
#997CF6 #F6997C #7CF699
tetradic
#997CF6 #F67C9C #D9F67C #7CF6D6
square
#997CF6 #F67C9C #D9F67C #7CF6D6
split-complementary
#997CF6 #F6D67C #9CF67C
monochromatic
#4310E8 #6C43F2 #997CF6 #C6B5FA #E9E2FD
Accessibility & contrast
On white
3.20
#997CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#997CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CF6
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CF6 | 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)
#4C92FA
Deuteranopia (green-blind)
#508EF3
Tritanopia (blue-blind)
#8195AE
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997cf6; /* rgb */ color: rgb(153, 124, 246); /* oklch */ color: oklch(66.9% 0.175 291.9);
Tailwind
colors: {
custom: {
50: '#bba2fa',
500: '#997cf6',
950: '#000000',
},
}SCSS
$custom: #997cf6; $custom-light: #bba2fa; $custom-dark: #000000;
JSON
{
"hex": "#997cf6",
"rgb": {
"r": 153,
"g": 124,
"b": 246
},
"hsl": {
"h": 254.262,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.66867,
"c": 0.17547,
"h": 291.9
},
"luminance": 0.27841
}Semantic roles & 50–950 ramp
primary
#997CF6
secondary
#EEF5D6
accent
#E402AE
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85