#A596EF#A596EF
#A596EF is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.1% C 0.128 H 290.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A596EF |
|---|---|
| RGB | rgb(165, 150, 239) |
| HSL | hsl(250, 74%, 76%) |
| HSV | hsv(250, 37%, 94%) |
| CMYK | cmyk(31%, 37.2%, 0%, 6.3%) |
| CIE-LAB | lab(66.55, 25.00, -42.82) |
| CIE-LCH | lch(66.55, 49.59, 300.28°) |
| OKLab | oklab(72.14% 0.0449 -0.1196) |
| OKLCH | oklch(72.14% 0.128 290.6) |
| XYZ | xyz(41.9994, 36.0431, 86.3889) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.72
Periwinkle Blue
#8F99FB
ΔE00 6.13
Lavender Blue
#8B88F8
ΔE00 6.52
Lavender
#B39DDB
ΔE00 6.67
Liliac
#C48EFD
ΔE00 7.25
Pastel Purple
#CAA0FF
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A596EF #E0EF96
analogous
#96B4EF #A596EF #D296EF
triadic
#A596EF #EFA596 #96EFA5
tetradic
#A596EF #EF96B4 #E0EF96 #96EFD2
square
#A596EF #EF96B4 #E0EF96 #96EFD2
split-complementary
#A596EF #EFD296 #B4EF96
monochromatic
#4A2CDF #7761E7 #A596EF #D3CBF7 #E8E4FB
Accessibility & contrast
On white
2.56
#A596EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A596EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A596EF
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A596EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A596EF | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#94A6B7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a596ef; /* rgb */ color: rgb(165, 150, 239); /* oklch */ color: oklch(72.1% 0.128 290.6);
Tailwind
colors: {
custom: {
50: '#c2b5f4',
500: '#a596ef',
950: '#000000',
},
}SCSS
$custom: #a596ef; $custom-light: #c2b5f4; $custom-dark: #000000;
JSON
{
"hex": "#a596ef",
"rgb": {
"r": 165,
"g": 150,
"b": 239
},
"hsl": {
"h": 250.112,
"s": 73.554,
"l": 76.275
},
"oklch": {
"l": 0.72144,
"c": 0.12778,
"h": 290.6
},
"luminance": 0.36044
}Semantic roles & 50–950 ramp
primary
#A596EF
secondary
#EEF3D8
accent
#D610B4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085