#A798CC

Closest named color: Pale Purple (#B790D4). oklch(71.1% 0.076 297.7), rgb(167, 152, 204).

Aa

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

About this color

#A798CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.076 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.035 away. Black text reads best on it, at 8.00:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.00:1
White text2.62:1

Values

HEX#A798CC
RGBrgb(167, 152, 204)
HSLhsl(257, 34%, 70%)
OKLCHoklch(71.1% 0.076 297.7)

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 #A798CC 2.62:1 Fails Lc -56.3 Large or bold text, headings
Black text on #A798CC 8.00:1 AAA Lc 52.9 Large or bold text, headings
#A798CC text on white 2.62:1 Fails Lc 51.1 Large or bold text, headings
#A798CC text on black 8.00:1 AAA Lc -50.8 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BBDC

    oklch(81% 0.047 297.8)

  5. Step 400

    400 (this color)

    #A798CC

    oklch(71.1% 0.076 297.7)

  6. Step 500

    500

    #907CBD

    oklch(63% 0.098 297.7)

  7. Step 600

    600

    #7B65A9

    oklch(55.7% 0.105 297.8)

  8. Step 700

    700

    #675391

    oklch(49% 0.099 297.5)

  9. Step 800

    800

    #544476

    oklch(42.6% 0.083 297.5)

  10. Step 900

    900

    #463A5F

    oklch(37.8% 0.063 298.2)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#A798CC 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)#8DA0CE0.039
Deuteranopia (no green cones)#8F9FCB0.037
Tritanopia (no blue cones)#A0A0AA0.062
Achromatopsia (no color)#A0A0A00.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798CC

    #A798CC

    oklch(71.1% 0.076 297.7)

  • #9EA972

    #9EA972

    oklch(71.2% 0.076 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798CC

    #A798CC

    oklch(71.1% 0.076 297.7)

  • #8DA1D2

    #8DA1D2

    oklch(71.2% 0.075 267.3)

  • #BC91BA

    #BC91BA

    oklch(71% 0.076 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #A798CC

    #A798CC

    oklch(71.1% 0.076 297.7)

  • #B69F6A

    #B69F6A

    oklch(71% 0.076 87)

  • #82AF87

    #82AF87

    oklch(71.1% 0.075 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798CC

    #A798CC

    oklch(71.1% 0.076 297.7)

  • #C79672

    #C79672

    oklch(71.1% 0.077 57.4)

  • #6AB2A1

    #6AB2A1

    oklch(71.1% 0.077 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798CC

    #A798CC

    oklch(71.1% 0.076 297.7)

  • #CD9088

    #CD9088

    oklch(71.1% 0.076 27.5)

  • #9EA972

    #9EA972

    oklch(71.2% 0.076 117.6)

  • #64B0BA

    #64B0BA

    oklch(71.2% 0.077 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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