#A596EC#A596EC
#A596EC is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.0% C 0.124 H 291.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A596EC |
|---|---|
| RGB | rgb(165, 150, 236) |
| HSL | hsl(250, 69%, 76%) |
| HSV | hsv(250, 36%, 93%) |
| CMYK | cmyk(30.1%, 36.4%, 0%, 7.5%) |
| CIE-LAB | lab(66.42, 24.25, -41.38) |
| CIE-LCH | lch(66.42, 47.97, 300.37°) |
| OKLab | oklab(72% 0.0442 -0.1155) |
| OKLCH | oklch(72% 0.124 291) |
| XYZ | xyz(41.5599, 35.8673, 84.0741) |
| Luminance | 0.3587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.83
Lavender
#B39DDB
ΔE00 6.21
Periwinkle Blue
#8F99FB
ΔE00 6.46
Lavender Blue
#8B88F8
ΔE00 6.83
Pastel Purple
#CAA0FF
ΔE00 7.24
Liliac
#C48EFD
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A596EC #DDEC96
analogous
#96B2EC #A596EC #D096EC
triadic
#A596EC #ECA596 #96ECA5
tetradic
#A596EC #EC96B2 #DDEC96 #96ECD0
square
#A596EC #EC96B2 #DDEC96 #96ECD0
split-complementary
#A596EC #ECD096 #B2EC96
monochromatic
#4C2ED9 #7962E3 #A596EC #D1CAF5 #E9E5FA
Accessibility & contrast
On white
2.57
#A596EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A596EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A596EC
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A596EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A596EC | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#95A5B6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a596ec; /* rgb */ color: rgb(165, 150, 236); /* oklch */ color: oklch(72.0% 0.124 291.0);
Tailwind
colors: {
custom: {
50: '#c1b5f2',
500: '#a596ec',
950: '#000000',
},
}SCSS
$custom: #a596ec; $custom-light: #c1b5f2; $custom-dark: #000000;
JSON
{
"hex": "#a596ec",
"rgb": {
"r": 165,
"g": 150,
"b": 236
},
"hsl": {
"h": 250.465,
"s": 69.355,
"l": 75.686
},
"oklch": {
"l": 0.71997,
"c": 0.12367,
"h": 291
},
"luminance": 0.35868
}Semantic roles & 50–950 ramp
primary
#A596EC
secondary
#EEF2D9
accent
#D114B0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085