#997FFC#997FFC
#997FFC is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.179 H 290.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #997FFC |
|---|---|
| RGB | rgb(153, 127, 252) |
| HSL | hsl(252, 95%, 74%) |
| HSV | hsv(252, 50%, 99%) |
| CMYK | cmyk(39.3%, 49.6%, 0%, 1.2%) |
| CIE-LAB | lab(60.76, 38.41, -59.20) |
| CIE-LCH | lch(60.76, 70.57, 302.98°) |
| OKLab | oklab(67.74% 0.0623 -0.1677) |
| OKLCH | oklch(67.74% 0.179 290.4) |
| XYZ | xyz(38.2921, 28.9782, 95.6524) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.50
Lavender Blue
#8B88F8
ΔE00 4.26
Perrywinkle
#8F8CE7
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.39
Light Urple
#B36FF6
ΔE00 6.83
Light Purple
#BF77F6
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FFC #E2FC7F
analogous
#7FA4FC #997FFC #D87FFC
triadic
#997FFC #FC997F #7FFC99
tetradic
#997FFC #FC7FA4 #E2FC7F #7FFCD8
square
#997FFC #FC7FA4 #E2FC7F #7FFCD8
split-complementary
#997FFC #FCD87F #A4FC7F
monochromatic
#3A07F9 #6943FB #997FFC #C9BBFD #E7E1FE
Accessibility & contrast
On white
3.09
#997FFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#997FFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FFC
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FFC | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#7E98B2
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #997ffc; /* rgb */ color: rgb(153, 127, 252); /* oklch */ color: oklch(67.7% 0.179 290.4);
Tailwind
colors: {
custom: {
50: '#bca4fe',
500: '#997ffc',
950: '#000000',
},
}SCSS
$custom: #997ffc; $custom-light: #bca4fe; $custom-dark: #000000;
JSON
{
"hex": "#997ffc",
"rgb": {
"r": 153,
"g": 127,
"b": 252
},
"hsl": {
"h": 252.48,
"s": 95.42,
"l": 74.314
},
"oklch": {
"l": 0.67736,
"c": 0.17891,
"h": 290.4
},
"luminance": 0.28979
}Semantic roles & 50–950 ramp
primary
#997FFC
secondary
#EFF7D4
accent
#E600B6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86