#997CF8#997CF8
#997CF8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.178 H 291.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #997CF8 |
|---|---|
| RGB | rgb(153, 124, 248) |
| HSL | hsl(254, 90%, 73%) |
| HSV | hsv(254, 50%, 97%) |
| CMYK | cmyk(38.3%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(59.86, 39.05, -58.44) |
| CIE-LCH | lch(59.86, 70.29, 303.75°) |
| OKLab | oklab(66.99% 0.0656 -0.1655) |
| OKLCH | oklch(66.99% 0.178 291.6) |
| XYZ | xyz(37.2832, 27.9639, 92.2220) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.20
Lavender Blue
#8B88F8
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 5.43
Light Urple
#B36FF6
ΔE00 6.15
Perrywinkle
#8F8CE7
ΔE00 6.19
Mediumslateblue
#7B68EE
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CF8 #DBF87C
analogous
#7C9DF8 #997CF8 #D77CF8
triadic
#997CF8 #F8997C #7CF899
tetradic
#997CF8 #F87C9D #DBF87C #7CF8D7
square
#997CF8 #F87C9D #DBF87C #7CF8D7
split-complementary
#997CF8 #F8D77C #9DF87C
monochromatic
#410DED #6C42F5 #997CF8 #C6B6FB #E8E2FD
Accessibility & contrast
On white
3.19
#997CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#997CF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CF8
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CF8 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#4E8EF5
Tritanopia (blue-blind)
#8095AF
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997cf8; /* rgb */ color: rgb(153, 124, 248); /* oklch */ color: oklch(67.0% 0.178 291.6);
Tailwind
colors: {
custom: {
50: '#bba2fb',
500: '#997cf8',
950: '#000000',
},
}SCSS
$custom: #997cf8; $custom-light: #bba2fb; $custom-dark: #000000;
JSON
{
"hex": "#997cf8",
"rgb": {
"r": 153,
"g": 124,
"b": 248
},
"hsl": {
"h": 254.032,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.66987,
"c": 0.17805,
"h": 291.6
},
"luminance": 0.27965
}Semantic roles & 50–950 ramp
primary
#997CF8
secondary
#EEF6D5
accent
#E600B0
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85