#997CFF#997CFF
#997CFF is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.187 H 290.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #997CFF |
|---|---|
| RGB | rgb(153, 124, 255) |
| HSL | hsl(253, 100%, 74%) |
| HSV | hsv(253, 51%, 100%) |
| CMYK | cmyk(40%, 51.4%, 0%, 0%) |
| CIE-LAB | lab(60.25, 40.91, -61.66) |
| CIE-LCH | lch(60.25, 74.00, 303.57°) |
| OKLab | oklab(67.41% 0.0661 -0.1749) |
| OKLCH | oklch(67.41% 0.187 290.7) |
| XYZ | xyz(38.3896, 28.4065, 98.0487) |
| Luminance | 0.2841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.93
Lavender Blue
#8B88F8
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 6.23
Light Urple
#B36FF6
ΔE00 6.41
Perrywinkle
#8F8CE7
ΔE00 6.55
Mediumslateblue
#7B68EE
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CFF #E2FF7C
analogous
#7CA1FF #997CFF #DA7CFF
triadic
#997CFF #FF997C #7CFF99
tetradic
#997CFF #FF7CA1 #E2FF7C #7CFFDA
square
#997CFF #FF7CA1 #E2FF7C #7CFFDA
split-complementary
#997CFF #FFDA7C #A1FF7C
monochromatic
#3A02FF #693FFF #997CFF #C9B9FF #E7E0FF
Accessibility & contrast
On white
3.14
#997CFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#997CFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CFF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CFF | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#478EFC
Tritanopia (blue-blind)
#7D97B2
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #997cff; /* rgb */ color: rgb(153, 124, 255); /* oklch */ color: oklch(67.4% 0.187 290.7);
Tailwind
colors: {
custom: {
50: '#bca2ff',
500: '#997cff',
950: '#000000',
},
}SCSS
$custom: #997cff; $custom-light: #bca2ff; $custom-dark: #000000;
JSON
{
"hex": "#997cff",
"rgb": {
"r": 153,
"g": 124,
"b": 255
},
"hsl": {
"h": 253.282,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.67412,
"c": 0.18702,
"h": 290.7
},
"luminance": 0.28408
}Semantic roles & 50–950 ramp
primary
#997CFF
secondary
#EFF7D4
accent
#E600B3
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86