#AF6FA8

Closest named color: Soft Purple (#A66FB5). oklch(62.9% 0.111 330.8), rgb(175, 111, 168).

Aa

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

About this color

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

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

Values

HEX#AF6FA8
RGBrgb(175, 111, 168)
HSLhsl(307, 29%, 56%)
OKLCHoklch(62.9% 0.111 330.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 #AF6FA8 3.70:1 AA large text Lc -70.0 Content text, not long reading
Black text on #AF6FA8 5.66:1 AA Lc 39.6 Non-text elements, placeholder text
#AF6FA8 text on white 3.70:1 AA large text Lc 64.5 Content text, not long reading
#AF6FA8 text on black 5.66:1 AA Lc -37.2 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

    #D6B4D1

    oklch(80.8% 0.055 331)

  5. Step 400

    400

    #C08DBA

    oklch(70.7% 0.086 330.5)

  6. Step 500

    500 (this color)

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  7. Step 600

    600

    #9B5794

    oklch(55.7% 0.121 330.9)

  8. Step 700

    700

    #84477E

    oklch(49.2% 0.112 330.8)

  9. Step 800

    800

    #6B3A66

    oklch(42.6% 0.093 330.9)

  10. Step 900

    900

    #573253

    oklch(37.6% 0.073 330.9)

  11. Step 950

    950

    #331E31

    oklch(27% 0.045 330.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF6FA8 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)#6D7FAA0.106
Deuteranopia (no green cones)#7D88A60.098
Tritanopia (no blue cones)#B473840.060
Achromatopsia (no color)#8585850.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6FA8

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  • #519C65

    #519C65

    oklch(63% 0.112 150.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6FA8

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  • #9478C2

    #9478C2

    oklch(62.9% 0.112 300.6)

  • #BF6B85

    #BF6B85

    oklch(62.9% 0.11 0.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF6FA8

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  • #7F9340

    #7F9340

    oklch(62.9% 0.112 121)

  • #109E8C

    #109E8C

    oklch(62.8% 0.111 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6FA8

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  • #A2862C

    #A2862C

    oklch(63% 0.111 91.2)

  • #009AAE

    #009AAE

    oklch(62.9% 0.109 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6FA8

    #AF6FA8

    oklch(62.9% 0.111 330.8)

  • #B9783C

    #B9783C

    oklch(62.9% 0.111 61.1)

  • #519C65

    #519C65

    oklch(63% 0.112 150.7)

  • #4191C5

    #4191C5

    oklch(63% 0.11 240.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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