#A398CD#A398CD
#A398CD is a light, moderate violet. Relative luminance 0.347; OKLCH L 70.8% C 0.077 H 293.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A398CD |
|---|---|
| RGB | rgb(163, 152, 205) |
| HSL | hsl(252, 35%, 70%) |
| HSV | hsv(252, 26%, 80%) |
| CMYK | cmyk(20.5%, 25.9%, 0%, 19.6%) |
| CIE-LAB | lab(65.48, 15.04, -25.71) |
| CIE-LCH | lch(65.48, 29.79, 300.33°) |
| OKLab | oklab(70.81% 0.0312 -0.0706) |
| OKLCH | oklch(70.81% 0.077 293.9) |
| XYZ | xyz(37.3494, 34.6504, 62.4662) |
| Luminance | 0.3465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.77
Pale Purple
#B790D4
ΔE00 6.48
Lavender (survey)
#C79FEF
ΔE00 8.45
Perrywinkle
#8F8CE7
ΔE00 9.12
Heather
#A484AC
ΔE00 9.30
Wisteria
#A87DC2
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A398CD #C2CD98
analogous
#98A7CD #A398CD #BE98CD
triadic
#A398CD #CDA398 #98CDA3
tetradic
#A398CD #CD98A7 #C2CD98 #98CDBE
square
#A398CD #CD98A7 #C2CD98 #98CDBE
split-complementary
#A398CD #CDBE98 #A7CD98
monochromatic
#5E4D9E #7E6FB9 #A398CD #C8C1E1 #EDEAF5
Accessibility & contrast
On white
2.65
#A398CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#A398CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A398CD
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A398CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A398CD | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#8D9ECC
Tritanopia (blue-blind)
#9BA0AA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a398cd; /* rgb */ color: rgb(163, 152, 205); /* oklch */ color: oklch(70.8% 0.077 293.9);
Tailwind
colors: {
custom: {
50: '#bfb6dc',
500: '#a398cd',
950: '#000000',
},
}SCSS
$custom: #a398cd; $custom-light: #bfb6dc; $custom-dark: #000000;
JSON
{
"hex": "#a398cd",
"rgb": {
"r": 163,
"g": 152,
"b": 205
},
"hsl": {
"h": 252.453,
"s": 34.641,
"l": 70
},
"oklch": {
"l": 0.70812,
"c": 0.07723,
"h": 293.9
},
"luminance": 0.34651
}Semantic roles & 50–950 ramp
primary
#A398CD
secondary
#E5E8D9
accent
#AD3895
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083