#AF7ABC

Closest named color: Wisteria (#A87DC2). oklch(65.6% 0.112 319.6), rgb(175, 122, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.33:1
White text3.31:1

Values

HEX#AF7ABC
RGBrgb(175, 122, 188)
HSLhsl(288, 33%, 61%)
OKLCHoklch(65.6% 0.112 319.6)

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 #AF7ABC 3.31:1 AA large text Lc -65.9 Content text, not long reading
Black text on #AF7ABC 6.33:1 AA Lc 43.6 Non-text elements, placeholder text
#AF7ABC text on white 3.31:1 AA large text Lc 60.4 Content text, not long reading
#AF7ABC text on black 6.33:1 AA Lc -41.3 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 500.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE7F1

    oklch(93.7% 0.016 319.4)

  3. Step 200

    200

    #E2D3E6

    oklch(88.5% 0.03 319.1)

  4. Step 300

    300

    #D1B6D7

    oklch(81% 0.054 320.1)

  5. Step 400

    400

    #B98FC3

    oklch(70.7% 0.088 319.8)

  6. Step 500

    500 (this color)

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  7. Step 600

    600

    #925AA0

    oklch(55.7% 0.122 319.4)

  8. Step 700

    700

    #7C4989

    oklch(49.1% 0.114 319.3)

  9. Step 800

    800

    #653D6F

    oklch(42.8% 0.093 319.4)

  10. Step 900

    900

    #52345A

    oklch(37.7% 0.073 319)

  11. Step 950

    950

    #301F35

    oklch(27% 0.046 318.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF7ABC 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)#7289BF0.095
Deuteranopia (no green cones)#7E8FBA0.088
Tritanopia (no blue cones)#B082920.073
Achromatopsia (no color)#8D8D8D0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7ABC

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  • #6CA25E

    #6CA25E

    oklch(65.7% 0.113 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7ABC

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  • #9085D1

    #9085D1

    oklch(65.7% 0.112 289.6)

  • #C4739B

    #C4739B

    oklch(65.6% 0.113 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF7ABC

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  • #96973E

    #96973E

    oklch(65.7% 0.112 109.7)

  • #37A786

    #37A786

    oklch(65.7% 0.112 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7ABC

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  • #B58937

    #B58937

    oklch(65.7% 0.112 80)

  • #00A5AB

    #00A5AB

    oklch(65.6% 0.112 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7ABC

    #AF7ABC

    oklch(65.6% 0.112 319.6)

  • #C87B50

    #C87B50

    oklch(65.6% 0.112 49.1)

  • #6CA25E

    #6CA25E

    oklch(65.7% 0.113 139.4)

  • #359DC8

    #359DC8

    oklch(65.6% 0.112 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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