#AF70AB

Closest named color: Soft Purple (#A66FB5). oklch(63.2% 0.112 329), rgb(175, 112, 171).

Aa

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

About this color

#AF70AB is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.112 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.023 away. Black text reads best on it, at 5.72:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.72:1
White text3.66:1

Values

HEX#AF70AB
RGBrgb(175, 112, 171)
HSLhsl(304, 28%, 56%)
OKLCHoklch(63.2% 0.112 329)

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 #AF70AB 3.66:1 AA large text Lc -69.6 Content text, not long reading
Black text on #AF70AB 5.72:1 AA Lc 40.0 Non-text elements, placeholder text
#AF70AB text on white 3.66:1 AA large text Lc 64.1 Content text, not long reading
#AF70AB text on black 5.72:1 AA Lc -37.6 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D2E3

    oklch(88.4% 0.031 329.1)

  4. Step 300

    300

    #D5B4D2

    oklch(80.8% 0.055 329)

  5. Step 400

    400

    #BF8DBC

    oklch(70.7% 0.088 328.5)

  6. Step 500

    500 (this color)

    #AF70AB

    oklch(63.2% 0.112 329)

  7. Step 600

    600

    #9A5796

    oklch(55.7% 0.122 329.2)

  8. Step 700

    700

    #834780

    oklch(49.2% 0.113 329)

  9. Step 800

    800

    #6B3A68

    oklch(42.7% 0.095 329.3)

  10. Step 900

    900

    #573255

    oklch(37.7% 0.075 328.9)

  11. Step 950

    950

    #331E32

    oklch(27.1% 0.047 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF70AB 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)#6D80AD0.106
Deuteranopia (no green cones)#7D89A90.097
Tritanopia (no blue cones)#B375860.062
Achromatopsia (no color)#8585850.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF70AB

    #AF70AB

    oklch(63.2% 0.112 329)

  • #559C63

    #559C63

    oklch(63.1% 0.112 148.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF70AB

    #AF70AB

    oklch(63.2% 0.112 329)

  • #937AC4

    #937AC4

    oklch(63.2% 0.111 298.7)

  • #C06B88

    #C06B88

    oklch(63.2% 0.113 359)

Open the analogous palette in the generator

Split complementary

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

  • #AF70AB

    #AF70AB

    oklch(63.2% 0.112 329)

  • #82933E

    #82933E

    oklch(63.1% 0.112 119.2)

  • #14A08B

    #14A08B

    oklch(63.3% 0.113 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF70AB

    #AF70AB

    oklch(63.2% 0.112 329)

  • #A5862C

    #A5862C

    oklch(63.3% 0.112 89.3)

  • #009BAD

    #009BAD

    oklch(63.1% 0.109 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF70AB

    #AF70AB

    oklch(63.2% 0.112 329)

  • #BB783E

    #BB783E

    oklch(63.2% 0.112 59.5)

  • #559C63

    #559C63

    oklch(63.1% 0.112 148.8)

  • #3E92C6

    #3E92C6

    oklch(63.1% 0.112 239.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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