#997CFB#997CFB
#997CFB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.182 H 291.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #997CFB |
|---|---|
| RGB | rgb(153, 124, 251) |
| HSL | hsl(254, 94%, 74%) |
| HSV | hsv(254, 51%, 98%) |
| CMYK | cmyk(39%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(60.03, 39.84, -59.83) |
| CIE-LCH | lch(60.03, 71.88, 303.66°) |
| OKLab | oklab(67.17% 0.0659 -0.1696) |
| OKLCH | oklch(67.17% 0.182 291.2) |
| XYZ | xyz(37.7524, 28.1516, 94.6928) |
| Luminance | 0.2815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.05
Lavender Blue
#8B88F8
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 6.25
Perrywinkle
#8F8CE7
ΔE00 6.33
Mediumslateblue
#7B68EE
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CFB #DEFB7C
analogous
#7C9EFB #997CFB #D87CFB
triadic
#997CFB #FB997C #7CFB99
tetradic
#997CFB #FB7C9E #DEFB7C #7CFBD8
square
#997CFB #FB7C9E #DEFB7C #7CFBD8
split-complementary
#997CFB #FBD87C #9EFB7C
monochromatic
#3E07F5 #6B41F9 #997CFB #C7B7FD #E8E1FE
Accessibility & contrast
On white
3.17
#997CFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#997CFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CFB
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CFB | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #997cfb; /* rgb */ color: rgb(153, 124, 251); /* oklch */ color: oklch(67.2% 0.182 291.2);
Tailwind
colors: {
custom: {
50: '#bca2fd',
500: '#997cfb',
950: '#000000',
},
}SCSS
$custom: #997cfb; $custom-light: #bca2fd; $custom-dark: #000000;
JSON
{
"hex": "#997cfb",
"rgb": {
"r": 153,
"g": 124,
"b": 251
},
"hsl": {
"h": 253.701,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.67168,
"c": 0.18191,
"h": 291.2
},
"luminance": 0.28153
}Semantic roles & 50–950 ramp
primary
#997CFB
secondary
#EFF6D5
accent
#E600B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86