#A396E2#A396E2
#A396E2 is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.4% C 0.110 H 291.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A396E2 |
|---|---|
| RGB | rgb(163, 150, 226) |
| HSL | hsl(250, 57%, 74%) |
| HSV | hsv(250, 34%, 89%) |
| CMYK | cmyk(27.9%, 33.6%, 0%, 11.4%) |
| CIE-LAB | lab(65.82, 21.20, -36.82) |
| CIE-LCH | lch(65.82, 42.49, 299.93°) |
| OKLab | oklab(71.35% 0.0397 -0.1024) |
| OKLCH | oklch(71.35% 0.11 291.2) |
| XYZ | xyz(39.7347, 35.0895, 76.6163) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.05
Perrywinkle
#8F8CE7
ΔE00 5.28
Pale Purple
#B790D4
ΔE00 7.11
Periwinkle Blue
#8F99FB
ΔE00 7.34
Lavender (survey)
#C79FEF
ΔE00 7.46
Lavender Blue
#8B88F8
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A396E2 #D5E296
analogous
#96AFE2 #A396E2 #C996E2
triadic
#A396E2 #E2A396 #96E2A3
tetradic
#A396E2 #E296AF #D5E296 #96E2C9
square
#A396E2 #E296AF #D5E296 #96E2C9
split-complementary
#A396E2 #E2C996 #AFE296
monochromatic
#4F37C7 #7966D5 #A396E2 #CDC6EF #EAE7F8
Accessibility & contrast
On white
2.62
#A396E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A396E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A396E2
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A396E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A396E2 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#95A3B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a396e2; /* rgb */ color: rgb(163, 150, 226); /* oklch */ color: oklch(71.4% 0.110 291.2);
Tailwind
colors: {
custom: {
50: '#c0b5eb',
500: '#a396e2',
950: '#000000',
},
}SCSS
$custom: #a396e2; $custom-light: #c0b5eb; $custom-dark: #000000;
JSON
{
"hex": "#a396e2",
"rgb": {
"r": 163,
"g": 150,
"b": 226
},
"hsl": {
"h": 250.263,
"s": 56.716,
"l": 73.725
},
"oklch": {
"l": 0.71354,
"c": 0.1098,
"h": 291.2
},
"luminance": 0.3509
}Semantic roles & 50–950 ramp
primary
#A396E2
secondary
#ECF0DB
accent
#C421A8
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084