#997CEC#997CEC
#997CEC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.162 H 293.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #997CEC |
|---|---|
| RGB | rgb(153, 124, 236) |
| HSL | hsl(256, 75%, 71%) |
| HSV | hsv(256, 47%, 93%) |
| CMYK | cmyk(35.2%, 47.5%, 0%, 7.5%) |
| CIE-LAB | lab(59.20, 35.88, -52.85) |
| CIE-LCH | lch(59.20, 63.88, 304.18°) |
| OKLab | oklab(66.28% 0.0645 -0.1491) |
| OKLCH | oklch(66.28% 0.162 293.4) |
| XYZ | xyz(35.4809, 27.2430, 82.7297) |
| Luminance | 0.2724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.23
Periwinkle (survey)
#8E82FE
ΔE00 4.30
Lavender Blue
#8B88F8
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 5.89
Light Urple
#B36FF6
ΔE00 6.06
Light Purple
#BF77F6
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CEC #CFEC7C
analogous
#7C97EC #997CEC #D17CEC
triadic
#997CEC #EC997C #7CEC99
tetradic
#997CEC #EC7C97 #CFEC7C #7CECD1
square
#997CEC #EC7C97 #CFEC7C #7CECD1
split-complementary
#997CEC #ECD17C #97EC7C
monochromatic
#4C1ED0 #6F47E4 #997CEC #C3B1F4 #EAE4FB
Accessibility & contrast
On white
3.26
#997CEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#997CEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CEC
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CEC | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#598DE9
Tritanopia (blue-blind)
#8592A9
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #997cec; /* rgb */ color: rgb(153, 124, 236); /* oklch */ color: oklch(66.3% 0.162 293.4);
Tailwind
colors: {
custom: {
50: '#baa2f3',
500: '#997cec',
950: '#000000',
},
}SCSS
$custom: #997cec; $custom-light: #baa2f3; $custom-dark: #000000;
JSON
{
"hex": "#997cec",
"rgb": {
"r": 153,
"g": 124,
"b": 236
},
"hsl": {
"h": 255.536,
"s": 74.667,
"l": 70.588
},
"oklch": {
"l": 0.66282,
"c": 0.16248,
"h": 293.4
},
"luminance": 0.27244
}Semantic roles & 50–950 ramp
primary
#997CEC
secondary
#E9F1D3
accent
#D70FA3
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85