#AF6BA2

Closest named color: Soft Purple (#A66FB5). oklch(62% 0.113 334.1), rgb(175, 107, 162).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.44:1
White text3.85:1

Values

HEX#AF6BA2
RGBrgb(175, 107, 162)
HSLhsl(311, 30%, 55%)
OKLCHoklch(62% 0.113 334.1)

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 #AF6BA2 3.85:1 AA large text Lc -71.3 Content text, not long reading
Black text on #AF6BA2 5.44:1 AA Lc 38.3 Non-text elements, placeholder text
#AF6BA2 text on white 3.85:1 AA large text Lc 65.8 Content text, not long reading
#AF6BA2 text on black 5.44:1 AA Lc -35.8 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E6D2E2

    oklch(88.5% 0.031 332.5)

  4. Step 300

    300

    #D8B4CF

    oklch(81% 0.055 335)

  5. Step 400

    400

    #C38CB7

    oklch(70.7% 0.088 334.5)

  6. Step 500

    500 (this color)

    #AF6BA2

    oklch(62% 0.113 334.1)

  7. Step 600

    600

    #9E5591

    oklch(55.6% 0.124 334.1)

  8. Step 700

    700

    #87457B

    oklch(49.1% 0.115 334.4)

  9. Step 800

    800

    #6D3964

    oklch(42.6% 0.095 333.9)

  10. Step 900

    900

    #593252

    oklch(37.8% 0.073 333.8)

  11. Step 950

    950

    #341D30

    oklch(26.9% 0.048 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF6BA2 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)#6B7CA40.111
Deuteranopia (no green cones)#7C85A00.101
Tritanopia (no blue cones)#B56E7F0.057
Achromatopsia (no color)#8282820.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6BA2

    #AF6BA2

    oklch(62% 0.113 334.1)

  • #479A66

    #479A66

    oklch(62% 0.114 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6BA2

    #AF6BA2

    oklch(62% 0.113 334.1)

  • #9574BD

    #9574BD

    oklch(62% 0.113 304.1)

  • #BE677E

    #BE677E

    oklch(62% 0.114 4)

Open the analogous palette in the generator

Split complementary

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

  • #AF6BA2

    #AF6BA2

    oklch(62% 0.113 334.1)

  • #789140

    #789140

    oklch(61.9% 0.112 123.9)

  • #009B8E

    #009B8E

    oklch(62% 0.109 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6BA2

    #AF6BA2

    oklch(62% 0.113 334.1)

  • #9C8426

    #9C8426

    oklch(61.9% 0.113 94.1)

  • #0096AE

    #0096AE

    oklch(61.9% 0.109 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6BA2

    #AF6BA2

    oklch(62% 0.113 334.1)

  • #B57634

    #B57634

    oklch(62% 0.113 64)

  • #479A66

    #479A66

    oklch(62% 0.114 153.9)

  • #438DC5

    #438DC5

    oklch(62.1% 0.112 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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