#997CFA#997CFA
#997CFA is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.1% C 0.181 H 291.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #997CFA |
|---|---|
| RGB | rgb(153, 124, 250) |
| HSL | hsl(254, 93%, 73%) |
| HSV | hsv(254, 50%, 98%) |
| CMYK | cmyk(38.8%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(59.97, 39.58, -59.37) |
| CIE-LCH | lch(59.97, 71.35, 303.69°) |
| OKLab | oklab(67.11% 0.0658 -0.1682) |
| OKLCH | oklch(67.11% 0.181 291.4) |
| XYZ | xyz(37.5952, 28.0887, 93.8648) |
| Luminance | 0.2809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.09
Lavender Blue
#8B88F8
ΔE00 4.95
Mediumpurple
#9370DB
ΔE00 5.66
Light Urple
#B36FF6
ΔE00 6.21
Perrywinkle
#8F8CE7
ΔE00 6.28
Mediumslateblue
#7B68EE
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CFA #DDFA7C
analogous
#7C9EFA #997CFA #D87CFA
triadic
#997CFA #FA997C #7CFA99
tetradic
#997CFA #FA7C9E #DDFA7C #7CFAD8
square
#997CFA #FA7C9E #DDFA7C #7CFAD8
split-complementary
#997CFA #FAD87C #9EFA7C
monochromatic
#3F09F2 #6B41F8 #997CFA #C7B7FC #E8E2FE
Accessibility & contrast
On white
3.17
#997CFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#997CFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CFA
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CFA | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#7F96AF
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #997cfa; /* rgb */ color: rgb(153, 124, 250); /* oklch */ color: oklch(67.1% 0.181 291.4);
Tailwind
colors: {
custom: {
50: '#bca2fd',
500: '#997cfa',
950: '#000000',
},
}SCSS
$custom: #997cfa; $custom-light: #bca2fd; $custom-dark: #000000;
JSON
{
"hex": "#997cfa",
"rgb": {
"r": 153,
"g": 124,
"b": 250
},
"hsl": {
"h": 253.81,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.67107,
"c": 0.18062,
"h": 291.4
},
"luminance": 0.2809
}Semantic roles & 50–950 ramp
primary
#997CFA
secondary
#EEF6D5
accent
#E600B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86