#AF6ABB

Closest named color: Soft Purple (#A66FB5). oklch(62.9% 0.139 321.5), rgb(175, 106, 187).

Aa

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

About this color

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

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

Values

HEX#AF6ABB
RGBrgb(175, 106, 187)
HSLhsl(291, 37%, 57%)
OKLCHoklch(62.9% 0.139 321.5)

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 #AF6ABB 3.74:1 AA large text Lc -70.3 Content text, not long reading
Black text on #AF6ABB 5.60:1 AA Lc 39.3 Non-text elements, placeholder text
#AF6ABB text on white 3.74:1 AA large text Lc 64.8 Content text, not long reading
#AF6ABB text on black 5.60:1 AA Lc -36.9 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

    #F8F3F9

    oklch(97% 0.01 320.5)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E5D1E8

    oklch(88.4% 0.038 321.8)

  4. Step 300

    300

    #D6B3DB

    oklch(81% 0.067 322.1)

  5. Step 400

    400

    #C089C9

    oklch(70.6% 0.109 321.7)

  6. Step 500

    500 (this color)

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  7. Step 600

    600

    #9B50A8

    oklch(55.6% 0.153 321.5)

  8. Step 700

    700

    #844090

    oklch(49.1% 0.142 321.4)

  9. Step 800

    800

    #6B3675

    oklch(42.7% 0.116 321.1)

  10. Step 900

    900

    #572F5E

    oklch(37.6% 0.091 321.5)

  11. Step 950

    950

    #331C37

    oklch(26.9% 0.058 321.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF6ABB 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)#5F7FBE0.126
Deuteranopia (no green cones)#7287B90.114
Tritanopia (no blue cones)#B1748A0.086
Achromatopsia (no color)#8484840.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6ABB

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  • #549D4A

    #549D4A

    oklch(62.9% 0.139 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6ABB

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  • #8B77D6

    #8B77D6

    oklch(62.9% 0.14 291.5)

  • #C66292

    #C66292

    oklch(62.9% 0.138 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF6ABB

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  • #8D9000

    #8D9000

    oklch(63% 0.139 111.3)

  • #00A080

    #00A080

    oklch(62.9% 0.122 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6ABB

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  • #B07F00

    #B07F00

    oklch(62.9% 0.13 81.4)

  • #009CA4

    #009CA4

    oklch(63% 0.107 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6ABB

    #AF6ABB

    oklch(62.9% 0.139 321.5)

  • #C96D2D

    #C96D2D

    oklch(62.9% 0.139 51.7)

  • #549D4A

    #549D4A

    oklch(62.9% 0.139 141.4)

  • #0095C8

    #0095C8

    oklch(62.9% 0.128 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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