#997CF7#997CF7
#997CF7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.177 H 291.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #997CF7 |
|---|---|
| RGB | rgb(153, 124, 247) |
| HSL | hsl(254, 88%, 73%) |
| HSV | hsv(254, 50%, 97%) |
| CMYK | cmyk(38.1%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(59.80, 38.78, -57.98) |
| CIE-LCH | lch(59.80, 69.75, 303.78°) |
| OKLab | oklab(66.93% 0.0656 -0.1642) |
| OKLCH | oklch(66.93% 0.177 291.8) |
| XYZ | xyz(37.1285, 27.9020, 91.4071) |
| Luminance | 0.2790 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.27
Lavender Blue
#8B88F8
ΔE00 5.01
Mediumpurple
#9370DB
ΔE00 5.32
Light Urple
#B36FF6
ΔE00 6.13
Perrywinkle
#8F8CE7
ΔE00 6.15
Light Purple
#BF77F6
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CF7 #DAF77C
analogous
#7C9DF7 #997CF7 #D67CF7
triadic
#997CF7 #F7997C #7CF799
tetradic
#997CF7 #F77C9D #DAF77C #7CF7D6
square
#997CF7 #F77C9D #DAF77C #7CF7D6
split-complementary
#997CF7 #F7D67C #9DF77C
monochromatic
#420EEA #6C42F3 #997CF7 #C6B6FB #E9E2FD
Accessibility & contrast
On white
3.19
#997CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#997CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CF7
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CF7 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#4F8EF4
Tritanopia (blue-blind)
#8195AE
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997cf7; /* rgb */ color: rgb(153, 124, 247); /* oklch */ color: oklch(66.9% 0.177 291.8);
Tailwind
colors: {
custom: {
50: '#bba2fa',
500: '#997cf7',
950: '#000000',
},
}SCSS
$custom: #997cf7; $custom-light: #bba2fa; $custom-dark: #000000;
JSON
{
"hex": "#997cf7",
"rgb": {
"r": 153,
"g": 124,
"b": 247
},
"hsl": {
"h": 254.146,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.66927,
"c": 0.17676,
"h": 291.8
},
"luminance": 0.27903
}Semantic roles & 50–950 ramp
primary
#997CF7
secondary
#EEF5D6
accent
#E500AF
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85