#AF6DBA

Closest named color: Soft Purple (#A66FB5). oklch(63.4% 0.133 321.7), rgb(175, 109, 186).

Aa

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

About this color

#AF6DBA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.133 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.018 away. Black text reads best on it, at 5.71:1.

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

Values

HEX#AF6DBA
RGBrgb(175, 109, 186)
HSLhsl(291, 36%, 58%)
OKLCHoklch(63.4% 0.133 321.7)

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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E5D2E8

    oklch(88.6% 0.036 321.6)

  4. Step 300

    300

    #D5B3DA

    oklch(80.9% 0.065 322)

  5. Step 400

    400

    #BF8BC7

    oklch(70.8% 0.103 322)

  6. Step 500

    500 (this color)

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  7. Step 600

    600

    #9952A5

    oklch(55.5% 0.145 321.7)

  8. Step 700

    700

    #83428D

    oklch(49.1% 0.135 322.1)

  9. Step 800

    800

    #6A3773

    oklch(42.6% 0.112 321.4)

  10. Step 900

    900

    #56305D

    oklch(37.6% 0.087 321.2)

  11. Step 950

    950

    #331D36

    oklch(27.1% 0.054 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF6DBA 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)#6381BD0.120
Deuteranopia (no green cones)#7588B80.108
Tritanopia (no blue cones)#B1768B0.082
Achromatopsia (no color)#8585850.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6DBA

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  • #589E4F

    #589E4F

    oklch(63.4% 0.133 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6DBA

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  • #8C7AD4

    #8C7AD4

    oklch(63.4% 0.133 291.3)

  • #C66593

    #C66593

    oklch(63.4% 0.134 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF6DBA

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  • #8D9119

    #8D9119

    oklch(63.3% 0.132 111.7)

  • #00A281

    #00A281

    oklch(63.4% 0.124 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6DBA

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  • #B28100

    #B28100

    oklch(63.5% 0.131 81.7)

  • #009DA6

    #009DA6

    oklch(63.4% 0.108 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6DBA

    #AF6DBA

    oklch(63.4% 0.133 321.7)

  • #C87035

    #C87035

    oklch(63.4% 0.133 51.7)

  • #589E4F

    #589E4F

    oklch(63.4% 0.133 141.5)

  • #0097CA

    #0097CA

    oklch(63.5% 0.129 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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