#AF91C2

Closest named color: Pale Purple (#B790D4). oklch(70.1% 0.078 312), rgb(175, 145, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.65:1
White text2.74:1

Values

HEX#AF91C2
RGBrgb(175, 145, 194)
HSLhsl(277, 29%, 66%)
OKLCHoklch(70.1% 0.078 312)

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 #AF91C2 2.74:1 Fails Lc -58.3 Large or bold text, headings
Black text on #AF91C2 7.65:1 AAA Lc 51.0 Large or bold text, headings
#AF91C2 text on white 2.74:1 Fails Lc 53.0 Large or bold text, headings
#AF91C2 text on black 7.65:1 AAA Lc -48.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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E6

    oklch(88.4% 0.027 312.6)

  4. Step 300

    300

    #CBB8D8

    oklch(80.9% 0.049 311.7)

  5. Step 400

    400 (this color)

    #AF91C2

    oklch(70.1% 0.078 312)

  6. Step 500

    500

    #9E78B5

    oklch(63.2% 0.099 312.2)

  7. Step 600

    600

    #8860A1

    oklch(55.6% 0.107 311.6)

  8. Step 700

    700

    #744F8A

    oklch(49.2% 0.1 312)

  9. Step 800

    800

    #5E4170

    oklch(42.7% 0.083 311.6)

  10. Step 900

    900

    #4D375A

    oklch(37.6% 0.064 312.3)

  11. Step 950

    950

    #2D2035

    oklch(26.9% 0.042 312)

Export this scale for Tailwind in the Tailwind colors tool

#AF91C2 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)#8A9AC40.055
Deuteranopia (no green cones)#909DC00.053
Tritanopia (no blue cones)#AD97A20.055
Achromatopsia (no color)#9C9C9C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF91C2

    #AF91C2

    oklch(70.1% 0.078 312)

  • #8DA977

    #8DA977

    oklch(70% 0.077 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF91C2

    #AF91C2

    oklch(70.1% 0.078 312)

  • #9799CE

    #9799CE

    oklch(70.1% 0.077 282.5)

  • #C18CAC

    #C18CAC

    oklch(70.1% 0.077 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF91C2

    #AF91C2

    oklch(70.1% 0.078 312)

  • #A8A167

    #A8A167

    oklch(70.1% 0.078 102.3)

  • #71AE90

    #71AE90

    oklch(70.1% 0.078 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF91C2

    #AF91C2

    oklch(70.1% 0.078 312)

  • #BD9768

    #BD9768

    oklch(70.1% 0.078 71.9)

  • #60AEAB

    #60AEAB

    oklch(70% 0.077 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF91C2

    #AF91C2

    oklch(70.1% 0.078 312)

  • #C98F79

    #C98F79

    oklch(70.1% 0.078 41.6)

  • #8DA977

    #8DA977

    oklch(70% 0.077 131.9)

  • #65AAC1

    #65AAC1

    oklch(70.1% 0.077 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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