#A798BA
Closest named color: Cool Gray (#8D99AE). oklch(70.4% 0.052 305.1), rgb(167, 152, 186).
Aa
Black text reads best on this color (7.84:1).
About this color
#A798BA is a medium-light, muted purple. In OKLCH its lightness is 70%, its chroma 0.052 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.043 away. Black text reads best on it, at 7.84:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | muted (0.052) |
| Temperature | in between |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.84:1 |
| White text | 2.67:1 |
Values
| HEX | #A798BA |
| RGB | rgb(167, 152, 186) |
| HSL | hsl(266, 20%, 66%) |
| OKLCH | oklch(70.4% 0.052 305.1) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #A798BA | 2.67:1 | Fails | Lc -57.2 | Large or bold text, headings |
| Black text on #A798BA | 7.84:1 | AAA | Lc 52.0 | Large or bold text, headings |
| #A798BA text on white | 2.67:1 | Fails | Lc 52.0 | Large or bold text, headings |
| #A798BA text on black | 7.84:1 | AAA | Lc -49.9 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8EF
oklch(93.5% 0.01 305.4)
-
Step 200
200
#DCD6E3
oklch(88.5% 0.019 306.6)
-
Step 300
300
#C5BCD2
oklch(80.9% 0.032 304.2)
-
Step 400
400 (this color)
#A798BA
oklch(70.4% 0.052 305.1)
-
Step 500
500
#9380AA
oklch(63.2% 0.065 305.2)
-
Step 600
600
#7D6995
oklch(55.7% 0.071 305)
-
Step 700
700
#69577F
oklch(49% 0.066 304.7)
-
Step 800
800
#564767
oklch(42.6% 0.055 305.6)
-
Step 900
900
#473C54
oklch(37.7% 0.043 305.3)
-
Step 950
950
#292331
oklch(26.9% 0.027 304.2)
#A798BA with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #929EBC | 0.032 |
| Deuteranopia (no green cones) | #959EB9 | 0.029 |
| Tritanopia (no blue cones) | #A49CA3 | 0.040 |
| Achromatopsia (no color) | #9E9E9E | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A798BA
#A798BA
oklch(70.4% 0.052 305.1)
- #98A683
#98A683
oklch(70.5% 0.052 125.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A798BA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Gray #8D99AE ΔE 0.043
- Dusty Lavender #AC86A8 ΔE 0.047
- Cool Steel #97A7B3 ΔE 0.049
- Bluey Grey #89A0B0 ΔE 0.051
- Light Mauve #C292A1 ΔE 0.051
- Heather #A484AC ΔE 0.052
- Pale Purple #B790D4 ΔE 0.055
- Cool Grey #95A3A6 ΔE 0.055
Use #A798BA in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.