#A797B2
Closest named color: Cool Gray (#8D99AE). oklch(69.9% 0.043 311.6), rgb(167, 151, 178).
Aa
Black text reads best on this color (7.71:1).
About this color
#A797B2 is a medium-light, muted purple. In OKLCH its lightness is 70%, its chroma 0.043 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.038 away. Black text reads best on it, at 7.71:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.71:1 |
| White text | 2.72:1 |
Values
| HEX | #A797B2 |
| RGB | rgb(167, 151, 178) |
| HSL | hsl(276, 15%, 65%) |
| OKLCH | oklch(69.9% 0.043 311.6) |
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 #A797B2 | 2.72:1 | Fails | Lc -58.0 | Large or bold text, headings |
| Black text on #A797B2 | 7.71:1 | AAA | Lc 51.3 | Large or bold text, headings |
| #A797B2 text on white | 2.72:1 | Fails | Lc 52.7 | Large or bold text, headings |
| #A797B2 text on black | 7.71:1 | AAA | Lc -49.1 | 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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EBE8EE
oklch(93.5% 0.009 308.4)
-
Step 200
200
#DCD6E0
oklch(88.4% 0.015 312.2)
-
Step 300
300
#C6BCCE
oklch(80.9% 0.027 310.3)
-
Step 400
400 (this color)
#A797B2
oklch(69.9% 0.043 311.6)
-
Step 500
500
#9480A2
oklch(63% 0.055 311.2)
-
Step 600
600
#7F6A8D
oklch(55.7% 0.059 311.6)
-
Step 700
700
#6B5878
oklch(49.1% 0.055 311.3)
-
Step 800
800
#574861
oklch(42.7% 0.045 311.6)
-
Step 900
900
#483C50
oklch(37.7% 0.037 311.6)
-
Step 950
950
#2A232F
oklch(26.9% 0.024 311)
#A797B2 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) | #939CB3 | 0.030 |
| Deuteranopia (no green cones) | #969DB1 | 0.028 |
| Tritanopia (no blue cones) | #A69AA0 | 0.031 |
| Achromatopsia (no color) | #9D9D9D | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A797B2
#A797B2
oklch(69.9% 0.043 311.6)
- #95A489
#95A489
oklch(69.9% 0.042 131.2)
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 #A797B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Gray #8D99AE ΔE 0.038
- Dusty Lavender #AC86A8 ΔE 0.043
- Light Mauve #C292A1 ΔE 0.046
- Cool Steel #97A7B3 ΔE 0.047
- Bluey Grey #89A0B0 ΔE 0.047
- Cool Grey #95A3A6 ΔE 0.049
- Heather #A484AC ΔE 0.050
- Grey Pink #C3909B ΔE 0.051
Use #A797B2 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.