#997AEC#997AEC
#997AEC is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.165 H 293.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #997AEC |
|---|---|
| RGB | rgb(153, 122, 236) |
| HSL | hsl(256, 75%, 70%) |
| HSV | hsv(256, 48%, 93%) |
| CMYK | cmyk(35.2%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(58.74, 37.02, -53.58) |
| CIE-LCH | lch(58.74, 65.13, 304.64°) |
| OKLab | oklab(65.94% 0.0671 -0.1513) |
| OKLCH | oklch(65.94% 0.165 293.9) |
| XYZ | xyz(35.2328, 26.7468, 82.6470) |
| Luminance | 0.2675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.80
Periwinkle (survey)
#8E82FE
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 5.71
Lavender Blue
#8B88F8
ΔE00 5.99
Perrywinkle
#8F8CE7
ΔE00 6.42
Light Purple
#BF77F6
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997AEC #CDEC7A
analogous
#7A94EC #997AEC #D27AEC
triadic
#997AEC #EC997A #7AEC99
tetradic
#997AEC #EC7A94 #CDEC7A #7AECD2
square
#997AEC #EC7A94 #CDEC7A #7AECD2
split-complementary
#997AEC #ECD27A #94EC7A
monochromatic
#4E1DCE #7044E4 #997AEC #C2B0F4 #EAE4FB
Accessibility & contrast
On white
3.31
#997AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#997AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997AEC
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997AEC | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#8590A8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #997aec; /* rgb */ color: rgb(153, 122, 236); /* oklch */ color: oklch(65.9% 0.165 293.9);
Tailwind
colors: {
custom: {
50: '#baa1f3',
500: '#997aec',
950: '#000000',
},
}SCSS
$custom: #997aec; $custom-light: #baa1f3; $custom-dark: #000000;
JSON
{
"hex": "#997aec",
"rgb": {
"r": 153,
"g": 122,
"b": 236
},
"hsl": {
"h": 256.316,
"s": 75,
"l": 70.196
},
"oklch": {
"l": 0.65938,
"c": 0.16546,
"h": 293.9
},
"luminance": 0.26748
}Semantic roles & 50–950 ramp
primary
#997AEC
secondary
#E8F1D1
accent
#D70EA1
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85