#AF81CA

Closest named color: Wisteria (#A87DC2). oklch(67.5% 0.116 312.4), rgb(175, 129, 202).

Aa

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

About this color

#AF81CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.116 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.019 away. Black text reads best on it, at 6.81:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.81:1
White text3.08:1

Values

HEX#AF81CA
RGBrgb(175, 129, 202)
HSLhsl(278, 41%, 65%)
OKLCHoklch(67.5% 0.116 312.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 #AF81CA 3.08:1 AA large text Lc -63.0 Content text, not long reading
Black text on #AF81CA 6.81:1 AA Lc 46.4 Large or bold text, headings
#AF81CA text on white 3.08:1 AA large text Lc 57.6 Large or bold text, headings
#AF81CA text on black 6.81:1 AA Lc -44.1 Non-text elements, placeholder text

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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D1B4E3

    oklch(81% 0.072 312.4)

  5. Step 400

    400 (this color)

    #AF81CA

    oklch(67.5% 0.116 312.4)

  6. Step 500

    500

    #A86CC9

    oklch(63.2% 0.148 312.6)

  7. Step 600

    600

    #9351B6

    oklch(55.6% 0.162 312.5)

  8. Step 700

    700

    #7D419C

    oklch(49% 0.15 312.6)

  9. Step 800

    800

    #66377F

    oklch(42.8% 0.124 312.5)

  10. Step 900

    900

    #533066

    oklch(37.7% 0.097 312.5)

  11. Step 950

    950

    #301D3C

    oklch(27% 0.061 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF81CA 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)#7490CD0.089
Deuteranopia (no green cones)#7F94C80.082
Tritanopia (no blue cones)#AD8B9C0.081
Achromatopsia (no color)#9393930.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF81CA

    #AF81CA

    oklch(67.5% 0.116 312.4)

  • #7BA658

    #7BA658

    oklch(67.5% 0.117 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF81CA

    #AF81CA

    oklch(67.5% 0.116 312.4)

  • #8C8DDC

    #8C8DDC

    oklch(67.5% 0.116 282.3)

  • #C779AA

    #C779AA

    oklch(67.5% 0.115 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF81CA

    #AF81CA

    oklch(67.5% 0.116 312.4)

  • #A5993A

    #A5993A

    oklch(67.5% 0.116 102.1)

  • #47AD81

    #47AD81

    oklch(67.6% 0.116 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF81CA

    #AF81CA

    oklch(67.5% 0.116 312.4)

  • #C28A3C

    #C28A3C

    oklch(67.4% 0.116 72.4)

  • #00ADA9

    #00ADA9

    oklch(67.5% 0.116 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF81CA

    #AF81CA

    oklch(67.5% 0.116 312.4)

  • #D27D5B

    #D27D5B

    oklch(67.4% 0.116 42.3)

  • #7BA658

    #7BA658

    oklch(67.5% 0.117 132.4)

  • #28A6CA

    #28A6CA

    oklch(67.5% 0.116 222.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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