#A397CD#A397CD
#A397CD is a light, moderate violet. Relative luminance 0.343; OKLCH L 70.6% C 0.079 H 294.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A397CD |
|---|---|
| RGB | rgb(163, 151, 205) |
| HSL | hsl(253, 35%, 70%) |
| HSV | hsv(253, 26%, 80%) |
| CMYK | cmyk(20.5%, 26.3%, 0%, 19.6%) |
| CIE-LAB | lab(65.22, 15.61, -26.10) |
| CIE-LCH | lch(65.22, 30.41, 300.88°) |
| OKLab | oklab(70.62% 0.0327 -0.0717) |
| OKLCH | oklch(70.62% 0.079 294.5) |
| XYZ | xyz(37.1878, 34.3272, 62.4124) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.70
Pale Purple
#B790D4
ΔE00 6.20
Lavender (survey)
#C79FEF
ΔE00 8.34
Perrywinkle
#8F8CE7
ΔE00 8.99
Wisteria
#A87DC2
ΔE00 9.00
Heather
#A484AC
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A397CD #C1CD97
analogous
#97A6CD #A397CD #BE97CD
triadic
#A397CD #CDA397 #97CDA3
tetradic
#A397CD #CD97A6 #C1CD97 #97CDBE
square
#A397CD #CD97A6 #C1CD97 #97CDBE
split-complementary
#A397CD #CDBE97 #A6CD97
monochromatic
#5E4C9E #7E6EB9 #A397CD #C8C0E1 #ECEAF5
Accessibility & contrast
On white
2.67
#A397CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A397CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A397CD
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A397CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A397CD | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#8C9ECB
Tritanopia (blue-blind)
#9BA0AA
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a397cd; /* rgb */ color: rgb(163, 151, 205); /* oklch */ color: oklch(70.6% 0.079 294.5);
Tailwind
colors: {
custom: {
50: '#bfb5dc',
500: '#a397cd',
950: '#000000',
},
}SCSS
$custom: #a397cd; $custom-light: #bfb5dc; $custom-dark: #000000;
JSON
{
"hex": "#a397cd",
"rgb": {
"r": 163,
"g": 151,
"b": 205
},
"hsl": {
"h": 253.333,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.70616,
"c": 0.07882,
"h": 294.5
},
"luminance": 0.34328
}Semantic roles & 50–950 ramp
primary
#A397CD
secondary
#E4E8D8
accent
#AE3894
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083