#A798CE

Closest named color: Pale Purple (#B790D4). oklch(71.2% 0.079 297.1), rgb(167, 152, 206).

Aa

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

About this color

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

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

Values

HEX#A798CE
RGBrgb(167, 152, 206)
HSLhsl(257, 36%, 70%)
OKLCHoklch(71.2% 0.079 297.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A798CE 2.61:1 Fails Lc -56.2 Large or bold text, headings
Black text on #A798CE 8.02:1 AAA Lc 53.0 Large or bold text, headings
#A798CE text on white 2.61:1 Fails Lc 51.0 Large or bold text, headings
#A798CE text on black 8.02:1 AAA Lc -50.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.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C3BADD

    oklch(80.8% 0.05 297)

  5. Step 400

    400 (this color)

    #A798CE

    oklch(71.2% 0.079 297.1)

  6. Step 500

    500

    #907CBF

    oklch(63.1% 0.101 297.2)

  7. Step 600

    600

    #7B64AB

    oklch(55.6% 0.11 297.6)

  8. Step 700

    700

    #675393

    oklch(49.1% 0.102 296.9)

  9. Step 800

    800

    #544477

    oklch(42.6% 0.084 297.2)

  10. Step 900

    900

    #453A60

    oklch(37.7% 0.065 296.5)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#A798CE 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)#8CA0D00.040
Deuteranopia (no green cones)#8E9FCC0.038
Tritanopia (no blue cones)#A0A0AB0.064
Achromatopsia (no color)#A0A0A00.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798CE

    #A798CE

    oklch(71.2% 0.079 297.1)

  • #9EA970

    #9EA970

    oklch(71.2% 0.079 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798CE

    #A798CE

    oklch(71.2% 0.079 297.1)

  • #8CA1D4

    #8CA1D4

    oklch(71.2% 0.079 267.1)

  • #BD91BC

    #BD91BC

    oklch(71.2% 0.079 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #A798CE

    #A798CE

    oklch(71.2% 0.079 297.1)

  • #B79F67

    #B79F67

    oklch(71.1% 0.079 87.2)

  • #81B085

    #81B085

    oklch(71.2% 0.08 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798CE

    #A798CE

    oklch(71.2% 0.079 297.1)

  • #C89671

    #C89671

    oklch(71.2% 0.079 57.6)

  • #68B3A1

    #68B3A1

    oklch(71.3% 0.08 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798CE

    #A798CE

    oklch(71.2% 0.079 297.1)

  • #CF8F87

    #CF8F87

    oklch(71.1% 0.079 27.1)

  • #9EA970

    #9EA970

    oklch(71.2% 0.079 117.3)

  • #61B0BB

    #61B0BB

    oklch(71.1% 0.079 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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