#A798BF

Closest named color: Cool Gray (#8D99AE). oklch(70.6% 0.058 302.5), rgb(167, 152, 191).

Aa

Black text reads best on this color (7.88:1).

About this color

#A798BF is a medium-light, muted purple. In OKLCH its lightness is 71%, its chroma 0.058 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.047 away. Black text reads best on it, at 7.88:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamuted (0.058)
Temperaturein between
Nearest nameCool Gray (#8D99AE)
Black text7.88:1
White text2.66:1

Values

HEX#A798BF
RGBrgb(167, 152, 191)
HSLhsl(263, 23%, 67%)
OKLCHoklch(70.6% 0.058 302.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A798BF 2.66:1 Fails Lc -57.0 Large or bold text, headings
Black text on #A798BF 7.88:1 AAA Lc 52.2 Large or bold text, headings
#A798BF text on white 2.66:1 Fails Lc 51.8 Large or bold text, headings
#A798BF text on black 7.88:1 AAA Lc -50.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.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C5BBD5

    oklch(80.8% 0.038 303)

  5. Step 400

    400 (this color)

    #A798BF

    oklch(70.6% 0.058 302.5)

  6. Step 500

    500

    #927FAF

    oklch(63.1% 0.074 302.5)

  7. Step 600

    600

    #7C689B

    oklch(55.6% 0.081 301.9)

  8. Step 700

    700

    #695684

    oklch(49.1% 0.075 302.7)

  9. Step 800

    800

    #56476B

    oklch(42.8% 0.061 303)

  10. Step 900

    900

    #463B57

    oklch(37.6% 0.049 302.1)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#A798BF 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#919EC10.033
Deuteranopia (no green cones)#939EBE0.031
Tritanopia (no blue cones)#A39DA50.046
Achromatopsia (no color)#9F9F9F0.058

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A798BF

    #A798BF

    oklch(70.6% 0.058 302.5)

  • #9AA77E

    #9AA77E

    oklch(70.7% 0.059 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798BF

    #A798BF

    oklch(70.6% 0.058 302.5)

  • #939FC5

    #939FC5

    oklch(70.6% 0.057 271.2)

  • #B793B0

    #B793B0

    oklch(70.6% 0.059 333)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A798BF

    #A798BF

    oklch(70.6% 0.058 302.5)

  • #ADA077

    #ADA077

    oklch(70.7% 0.058 92.6)

  • #85AB8F

    #85AB8F

    oklch(70.5% 0.058 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798BF

    #A798BF

    oklch(70.6% 0.058 302.5)

  • #BB997B

    #BB997B

    oklch(70.6% 0.058 63.1)

  • #77ADA3

    #77ADA3

    oklch(70.7% 0.059 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798BF

    #A798BF

    oklch(70.6% 0.058 302.5)

  • #C29389

    #C29389

    oklch(70.5% 0.059 32.2)

  • #9AA77E

    #9AA77E

    oklch(70.7% 0.059 122.2)

  • #75AAB6

    #75AAB6

    oklch(70.5% 0.058 213.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A798BF, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A798BF 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.