#997ACC#997ACC
#997ACC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.2% C 0.123 H 300.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #997ACC |
|---|---|
| RGB | rgb(153, 122, 204) |
| HSL | hsl(263, 45%, 64%) |
| HSV | hsv(263, 40%, 80%) |
| CMYK | cmyk(25%, 40.2%, 0%, 20%) |
| CIE-LAB | lab(57.13, 28.95, -38.18) |
| CIE-LCH | lch(57.13, 47.92, 307.18°) |
| OKLab | oklab(64.2% 0.0624 -0.1064) |
| OKLCH | oklch(64.2% 0.123 300.4) |
| XYZ | xyz(30.9930, 25.0509, 60.3175) |
| Luminance | 0.2505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.33
Mediumpurple
#9370DB
ΔE00 4.69
Wisteria
#A87DC2
ΔE00 4.97
Soft Purple
#A66FB5
ΔE00 7.16
Light Urple
#B36FF6
ΔE00 8.21
Amethyst
#9B5FC0
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997ACC #ADCC7A
analogous
#7A84CC #997ACC #C27ACC
triadic
#997ACC #CC997A #7ACC99
tetradic
#997ACC #CC7A84 #ADCC7A #7ACCC2
square
#997ACC #CC7A84 #ADCC7A #7ACCC2
split-complementary
#997ACC #CCC27A #84CC7A
monochromatic
#5B3893 #774EBB #997ACC #BBA6DD #DDD2EE
Accessibility & contrast
On white
3.49
#997ACC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#997ACC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997ACC
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997ACC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997ACC | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#908899
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #997acc; /* rgb */ color: rgb(153, 122, 204); /* oklch */ color: oklch(64.2% 0.123 300.4);
Tailwind
colors: {
custom: {
50: '#b8a1dc',
500: '#997acc',
950: '#000000',
},
}SCSS
$custom: #997acc; $custom-light: #b8a1dc; $custom-dark: #000000;
JSON
{
"hex": "#997acc",
"rgb": {
"r": 153,
"g": 122,
"b": 204
},
"hsl": {
"h": 262.683,
"s": 44.565,
"l": 63.922
},
"oklch": {
"l": 0.64197,
"c": 0.12335,
"h": 300.4
},
"luminance": 0.25051
}Semantic roles & 50–950 ramp
primary
#997ACC
secondary
#D4DFC3
accent
#B82E84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83