#A798BB
Closest named color: Cool Gray (#8D99AE). oklch(70.4% 0.053 304.5), rgb(167, 152, 187).
Aa
Black text reads best on this color (7.85:1).
About this color
#A798BB is a medium-light, muted purple. In OKLCH its lightness is 70%, its chroma 0.053 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.044 away. Black text reads best on it, at 7.85:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | muted (0.053) |
| Temperature | in between |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.85:1 |
| White text | 2.67:1 |
Values
| HEX | #A798BB |
| RGB | rgb(167, 152, 187) |
| HSL | hsl(266, 20%, 66%) |
| OKLCH | oklch(70.4% 0.053 304.5) |
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 #A798BB | 2.67:1 | Fails | Lc -57.2 | Large or bold text, headings |
| Black text on #A798BB | 7.85:1 | AAA | Lc 52.0 | Large or bold text, headings |
| #A798BB text on white | 2.67:1 | Fails | Lc 52.0 | Large or bold text, headings |
| #A798BB text on black | 7.85: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)
#A798BB
oklch(70.4% 0.053 304.5)
-
Step 500
500
#937FAB
oklch(63.1% 0.069 305.2)
-
Step 600
600
#7D6896
oklch(55.5% 0.074 305)
-
Step 700
700
#695780
oklch(49.1% 0.068 304.1)
-
Step 800
800
#564768
oklch(42.7% 0.057 304.9)
-
Step 900
900
#473C55
oklch(37.8% 0.044 304.5)
-
Step 950
950
#292332
oklch(27% 0.029 302.8)
#A798BB 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) | #929EBD | 0.032 |
| Deuteranopia (no green cones) | #959EBA | 0.029 |
| Tritanopia (no blue cones) | #A49DA4 | 0.041 |
| Achromatopsia (no color) | #9E9E9E | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A798BB
#A798BB
oklch(70.4% 0.053 304.5)
- #98A682
#98A682
oklch(70.4% 0.053 125)
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 #A798BB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Gray #8D99AE ΔE 0.044
- Dusty Lavender #AC86A8 ΔE 0.047
- Cool Steel #97A7B3 ΔE 0.050
- Bluey Grey #89A0B0 ΔE 0.051
- Light Mauve #C292A1 ΔE 0.052
- Heather #A484AC ΔE 0.052
- Pale Purple #B790D4 ΔE 0.054
- Cool Grey #95A3A6 ΔE 0.056
Use #A798BB 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.