#A798BF#A798BF
#A798BF is a light, muted violet. Relative luminance 0.344; OKLCH L 70.6% C 0.058 H 302.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A798BF |
|---|---|
| RGB | rgb(167, 152, 191) |
| HSL | hsl(263, 23%, 67%) |
| HSV | hsv(263, 20%, 75%) |
| CMYK | cmyk(12.6%, 20.4%, 0%, 25.1%) |
| CIE-LAB | lab(65.31, 13.20, -18.13) |
| CIE-LCH | lch(65.31, 22.42, 306.06°) |
| OKLab | oklab(70.6% 0.0313 -0.0493) |
| OKLCH | oklch(70.6% 0.058 302.5) |
| XYZ | xyz(36.5667, 34.4336, 54.0000) |
| Luminance | 0.3443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.20
Heather
#A484AC
ΔE00 7.09
Pale Purple
#B790D4
ΔE00 7.65
Lilac
#C8A2C8
ΔE00 7.86
Dusty Lavender
#AC86A8
ΔE00 8.18
Wisteria
#A87DC2
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A798BF #B0BF98
analogous
#989DBF #A798BF #BB98BF
triadic
#A798BF #BFA798 #98BFA7
tetradic
#A798BF #BF989D #B0BF98 #98BFBB
square
#A798BF #BF989D #B0BF98 #98BFBB
split-complementary
#A798BF #BFBB98 #9DBF98
monochromatic
#685588 #8772A8 #A798BF #C7BED6 #E7E3EE
Accessibility & contrast
On white
2.66
#A798BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A798BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A798BF
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A798BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A798BF | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#939EBE
Tritanopia (blue-blind)
#A39DA5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a798bf; /* rgb */ color: rgb(167, 152, 191); /* oklch */ color: oklch(70.6% 0.058 302.5);
Tailwind
colors: {
custom: {
50: '#c1b6d2',
500: '#a798bf',
950: '#000000',
},
}SCSS
$custom: #a798bf; $custom-light: #c1b6d2; $custom-dark: #000000;
JSON
{
"hex": "#a798bf",
"rgb": {
"r": 167,
"g": 152,
"b": 191
},
"hsl": {
"h": 263.077,
"s": 23.353,
"l": 67.255
},
"oklch": {
"l": 0.70595,
"c": 0.05838,
"h": 302.5
},
"luminance": 0.34434
}Semantic roles & 50–950 ramp
primary
#A798BF
secondary
#DBE0D3
accent
#A2447E
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082