#997BFC#997BFC
#997BFC is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.185 H 291.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #997BFC |
|---|---|
| RGB | rgb(153, 123, 252) |
| HSL | hsl(254, 96%, 74%) |
| HSV | hsv(254, 51%, 99%) |
| CMYK | cmyk(39.3%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(59.86, 40.68, -60.65) |
| CIE-LCH | lch(59.86, 73.02, 303.85°) |
| OKLab | oklab(67.06% 0.0671 -0.172) |
| OKLCH | oklch(67.06% 0.185 291.3) |
| XYZ | xyz(37.7858, 27.9654, 95.4836) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.20
Lavender Blue
#8B88F8
ΔE00 5.15
Mediumpurple
#9370DB
ΔE00 5.73
Light Urple
#B36FF6
ΔE00 6.12
Perrywinkle
#8F8CE7
ΔE00 6.62
Mediumslateblue
#7B68EE
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997BFC #DEFC7B
analogous
#7B9DFC #997BFC #D97BFC
triadic
#997BFC #FC997B #7BFC99
tetradic
#997BFC #FC7B9D #DEFC7B #7BFCD9
square
#997BFC #FC7B9D #DEFC7B #7BFCD9
split-complementary
#997BFC #FCD97B #9DFC7B
monochromatic
#3E06F7 #6B3FFB #997BFC #C7B7FD #E8E1FE
Accessibility & contrast
On white
3.19
#997BFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#997BFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997BFC
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997BFC | 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)
#4492FF
Deuteranopia (green-blind)
#488EF9
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997bfc; /* rgb */ color: rgb(153, 123, 252); /* oklch */ color: oklch(67.1% 0.185 291.3);
Tailwind
colors: {
custom: {
50: '#bca2fe',
500: '#997bfc',
950: '#000000',
},
}SCSS
$custom: #997bfc; $custom-light: #bca2fe; $custom-dark: #000000;
JSON
{
"hex": "#997bfc",
"rgb": {
"r": 153,
"g": 123,
"b": 252
},
"hsl": {
"h": 253.953,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.67061,
"c": 0.18461,
"h": 291.3
},
"luminance": 0.27966
}Semantic roles & 50–950 ramp
primary
#997BFC
secondary
#EFF7D4
accent
#E600B0
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86