#A398BB#A398BB
#A398BB is a light, muted violet. Relative luminance 0.338; OKLCH L 70.1% C 0.052 H 299.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A398BB |
|---|---|
| RGB | rgb(163, 152, 187) |
| HSL | hsl(259, 20%, 66%) |
| HSV | hsv(259, 19%, 73%) |
| CMYK | cmyk(12.8%, 18.7%, 0%, 26.7%) |
| CIE-LAB | lab(64.83, 11.01, -16.64) |
| CIE-LCH | lch(64.83, 19.96, 303.48°) |
| OKLab | oklab(70.1% 0.0255 -0.0452) |
| OKLCH | oklch(70.1% 0.052 299.4) |
| XYZ | xyz(35.3003, 33.8308, 51.6743) |
| Luminance | 0.3383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 7.44
Heather
#A484AC
ΔE00 7.80
Dusty Lavender
#AC86A8
ΔE00 8.88
Lilac
#C8A2C8
ΔE00 9.01
Pale Purple
#B790D4
ΔE00 9.06
Purpley Grey
#947E94
ΔE00 10.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A398BB #B0BB98
analogous
#989FBB #A398BB #B598BB
triadic
#A398BB #BBA398 #98BBA3
tetradic
#A398BB #BB989F #B0BB98 #98BBB5
square
#A398BB #BB989F #B0BB98 #98BBB5
split-complementary
#A398BB #BBB598 #9FBB98
monochromatic
#645682 #8273A3 #A398BB #C4BDD3 #E5E2EC
Accessibility & contrast
On white
2.70
#A398BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A398BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A398BB
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A398BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A398BB | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#9F9DA4
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a398bb; /* rgb */ color: rgb(163, 152, 187); /* oklch */ color: oklch(70.1% 0.052 299.4);
Tailwind
colors: {
custom: {
50: '#beb6cf',
500: '#a398bb',
950: '#000000',
},
}SCSS
$custom: #a398bb; $custom-light: #beb6cf; $custom-dark: #000000;
JSON
{
"hex": "#a398bb",
"rgb": {
"r": 163,
"g": 152,
"b": 187
},
"hsl": {
"h": 258.857,
"s": 20.468,
"l": 66.471
},
"oklch": {
"l": 0.70097,
"c": 0.05187,
"h": 299.4
},
"luminance": 0.33831
}Semantic roles & 50–950 ramp
primary
#A398BB
secondary
#DADDD2
accent
#9F4783
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#121113
muted
#818082