#A798CF

Closest named color: Pale Purple (#B790D4). oklch(71.2% 0.081 296.8), rgb(167, 152, 207).

Aa

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

About this color

#A798CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.081 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.03:1.

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

Values

HEX#A798CF
RGBrgb(167, 152, 207)
HSLhsl(256, 36%, 70%)
OKLCHoklch(71.2% 0.081 296.8)

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 #A798CF 2.61:1 Fails Lc -56.1 Large or bold text, headings
Black text on #A798CF 8.03:1 AAA Lc 53.0 Large or bold text, headings
#A798CF text on white 2.61:1 Fails Lc 51.0 Large or bold text, headings
#A798CF text on black 8.03: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

    #F6F5FA

    oklch(97.2% 0.007 295.5)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C3BADE

    oklch(80.8% 0.051 296.7)

  5. Step 400

    400 (this color)

    #A798CF

    oklch(71.2% 0.081 296.8)

  6. Step 500

    500

    #907CC0

    oklch(63.1% 0.102 296.9)

  7. Step 600

    600

    #7A64AD

    oklch(55.6% 0.112 296.4)

  8. Step 700

    700

    #675394

    oklch(49.1% 0.103 296.6)

  9. Step 800

    800

    #544478

    oklch(42.7% 0.086 296.8)

  10. Step 900

    900

    #453A61

    oklch(37.8% 0.066 296)

  11. Step 950

    950

    #292239

    oklch(27.1% 0.043 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#A798CF 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)#8CA0D10.040
Deuteranopia (no green cones)#8E9FCD0.038
Tritanopia (no blue cones)#A0A1AB0.067
Achromatopsia (no color)#A0A0A00.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798CF

    #A798CF

    oklch(71.2% 0.081 296.8)

  • #9FA96F

    #9FA96F

    oklch(71.3% 0.08 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798CF

    #A798CF

    oklch(71.2% 0.081 296.8)

  • #8BA1D5

    #8BA1D5

    oklch(71.1% 0.08 266.6)

  • #BD91BD

    #BD91BD

    oklch(71.2% 0.08 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #A798CF

    #A798CF

    oklch(71.2% 0.081 296.8)

  • #B89F66

    #B89F66

    oklch(71.2% 0.081 86.7)

  • #81B085

    #81B085

    oklch(71.2% 0.08 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798CF

    #A798CF

    oklch(71.2% 0.081 296.8)

  • #C99670

    #C99670

    oklch(71.3% 0.08 57.7)

  • #67B3A1

    #67B3A1

    oklch(71.2% 0.081 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798CF

    #A798CF

    oklch(71.2% 0.081 296.8)

  • #D08F87

    #D08F87

    oklch(71.2% 0.081 27)

  • #9FA96F

    #9FA96F

    oklch(71.3% 0.08 116.4)

  • #60B1BC

    #60B1BC

    oklch(71.3% 0.081 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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