#A397E2#A397E2
#A397E2 is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.5% C 0.108 H 290.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A397E2 |
|---|---|
| RGB | rgb(163, 151, 226) |
| HSL | hsl(250, 56%, 74%) |
| HSV | hsv(250, 33%, 89%) |
| CMYK | cmyk(27.9%, 33.2%, 0%, 11.4%) |
| CIE-LAB | lab(66.07, 20.63, -36.44) |
| CIE-LCH | lch(66.07, 41.87, 299.52°) |
| OKLab | oklab(71.55% 0.0383 -0.1013) |
| OKLCH | oklch(71.55% 0.108 290.7) |
| XYZ | xyz(39.8949, 35.4100, 76.6697) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 4.98
Perrywinkle
#8F8CE7
ΔE00 5.40
Pale Purple
#B790D4
ΔE00 7.25
Periwinkle Blue
#8F99FB
ΔE00 7.27
Lavender (survey)
#C79FEF
ΔE00 7.50
Pastel Purple
#CAA0FF
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A397E2 #D6E297
analogous
#97B1E2 #A397E2 #C997E2
triadic
#A397E2 #E2A397 #97E2A3
tetradic
#A397E2 #E297B1 #D6E297 #97E2C9
square
#A397E2 #E297B1 #D6E297 #97E2C9
split-complementary
#A397E2 #E2C997 #B1E297
monochromatic
#4E38C7 #7967D5 #A397E2 #CDC7EF #EAE7F8
Accessibility & contrast
On white
2.60
#A397E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A397E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A397E2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A397E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A397E2 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#95A4B2
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a397e2; /* rgb */ color: rgb(163, 151, 226); /* oklch */ color: oklch(71.5% 0.108 290.7);
Tailwind
colors: {
custom: {
50: '#c0b5eb',
500: '#a397e2',
950: '#000000',
},
}SCSS
$custom: #a397e2; $custom-light: #c0b5eb; $custom-dark: #000000;
JSON
{
"hex": "#a397e2",
"rgb": {
"r": 163,
"g": 151,
"b": 226
},
"hsl": {
"h": 249.6,
"s": 56.391,
"l": 73.922
},
"oklch": {
"l": 0.71545,
"c": 0.10827,
"h": 290.7
},
"luminance": 0.35411
}Semantic roles & 50–950 ramp
primary
#A397E2
secondary
#ECF0DB
accent
#C422AA
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084