#A798CD

Closest named color: Pale Purple (#B790D4). oklch(71.2% 0.078 297.4), rgb(167, 152, 205).

Aa

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

About this color

#A798CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.078 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.034 away. Black text reads best on it, at 8.01:1.

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

Values

HEX#A798CD
RGBrgb(167, 152, 205)
HSLhsl(257, 35%, 70%)
OKLCHoklch(71.2% 0.078 297.4)

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 #A798CD 2.61:1 Fails Lc -56.2 Large or bold text, headings
Black text on #A798CD 8.01:1 AAA Lc 52.9 Large or bold text, headings
#A798CD text on white 2.61:1 Fails Lc 51.1 Large or bold text, headings
#A798CD text on black 8.01: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

    #C4BBDD

    oklch(81% 0.048 297.4)

  5. Step 400

    400 (this color)

    #A798CD

    oklch(71.2% 0.078 297.4)

  6. Step 500

    500

    #907CBE

    oklch(63% 0.099 297.4)

  7. Step 600

    600

    #7B64AA

    oklch(55.5% 0.108 297.9)

  8. Step 700

    700

    #675392

    oklch(49% 0.1 297.2)

  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

#A798CD 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)#8CA0CF0.040
Deuteranopia (no green cones)#8F9FCB0.037
Tritanopia (no blue cones)#A0A0AA0.064
Achromatopsia (no color)#A0A0A00.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798CD

    #A798CD

    oklch(71.2% 0.078 297.4)

  • #9EA971

    #9EA971

    oklch(71.2% 0.077 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798CD

    #A798CD

    oklch(71.2% 0.078 297.4)

  • #8CA1D3

    #8CA1D3

    oklch(71.1% 0.077 266.8)

  • #BD91BB

    #BD91BB

    oklch(71.2% 0.078 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #A798CD

    #A798CD

    oklch(71.2% 0.078 297.4)

  • #B79F69

    #B79F69

    oklch(71.1% 0.077 86.5)

  • #81B086

    #81B086

    oklch(71.2% 0.079 147.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798CD

    #A798CD

    oklch(71.2% 0.078 297.4)

  • #C79672

    #C79672

    oklch(71.1% 0.077 57.4)

  • #69B2A1

    #69B2A1

    oklch(71.1% 0.078 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798CD

    #A798CD

    oklch(71.2% 0.078 297.4)

  • #CE9087

    #CE9087

    oklch(71.2% 0.077 28.3)

  • #9EA971

    #9EA971

    oklch(71.2% 0.077 117.5)

  • #63B0BB

    #63B0BB

    oklch(71.2% 0.078 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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