#AF5EB2

Closest named color: Soft Purple (#A66FB5). oklch(60.7% 0.151 325.9), rgb(175, 94, 178).

Aa

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

About this color

#AF5EB2 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.151 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.040 away. Black text reads best on it, at 5.06:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.151)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.06:1
White text4.14:1

Values

HEX#AF5EB2
RGBrgb(175, 94, 178)
HSLhsl(298, 35%, 53%)
OKLCHoklch(60.7% 0.151 325.9)

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 #AF5EB2 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #AF5EB2 5.06:1 AA Lc 35.9 Non-text elements, placeholder text
#AF5EB2 text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#AF5EB2 text on black 5.06:1 AA Lc -33.5 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DAB1DB

    oklch(81% 0.073 325.5)

  5. Step 400

    400

    #C686C8

    oklch(70.7% 0.117 325.7)

  6. Step 500

    500 (this color)

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  7. Step 600

    600

    #A24AA6

    oklch(55.6% 0.164 325.8)

  8. Step 700

    700

    #8B3B8E

    oklch(49.2% 0.152 326.2)

  9. Step 800

    800

    #713173

    oklch(42.7% 0.126 326.3)

  10. Step 900

    900

    #5B2C5D

    oklch(37.6% 0.098 325.8)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF5EB2 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)#5576B50.145
Deuteranopia (no green cones)#6D80AF0.129
Tritanopia (no blue cones)#B367800.087
Achromatopsia (no color)#7D7D7D0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5EB2

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  • #389946

    #389946

    oklch(60.6% 0.151 146)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5EB2

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  • #8B6CD1

    #8B6CD1

    oklch(60.7% 0.15 295.7)

  • #C55685

    #C55685

    oklch(60.7% 0.15 356)

Open the analogous palette in the generator

Split complementary

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

  • #AF5EB2

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  • #7F8B00

    #7F8B00

    oklch(60.6% 0.138 115.7)

  • #00987F

    #00987F

    oklch(60.7% 0.114 175.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5EB2

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  • #A37B00

    #A37B00

    oklch(60.6% 0.124 85.7)

  • #0093A1

    #0093A1

    oklch(60.6% 0.104 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5EB2

    #AF5EB2

    oklch(60.7% 0.151 325.9)

  • #C36600

    #C36600

    oklch(60.7% 0.148 56.1)

  • #389946

    #389946

    oklch(60.6% 0.151 146)

  • #008CC5

    #008CC5

    oklch(60.6% 0.131 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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