#AF74BD

Closest named color: Soft Purple (#A66FB5). oklch(64.7% 0.124 319.8), rgb(175, 116, 189).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.05:1
White text3.46:1

Values

HEX#AF74BD
RGBrgb(175, 116, 189)
HSLhsl(288, 36%, 60%)
OKLCHoklch(64.7% 0.124 319.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 #AF74BD 3.46:1 AA large text Lc -67.5 Content text, not long reading
Black text on #AF74BD 6.05:1 AA Lc 42.0 Non-text elements, placeholder text
#AF74BD text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#AF74BD text on black 6.05:1 AA Lc -39.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

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D2E7

    oklch(88.4% 0.034 319.8)

  4. Step 300

    300

    #D2B5D9

    oklch(80.9% 0.059 319.7)

  5. Step 400

    400

    #BB8DC6

    oklch(70.7% 0.096 319.7)

  6. Step 500

    500 (this color)

    #AF74BD

    oklch(64.7% 0.124 319.8)

  7. Step 600

    600

    #9556A4

    oklch(55.6% 0.135 319.7)

  8. Step 700

    700

    #7F468C

    oklch(49.1% 0.125 320)

  9. Step 800

    800

    #673A72

    oklch(42.7% 0.103 319.5)

  10. Step 900

    900

    #54325C

    oklch(37.6% 0.081 319.8)

  11. Step 950

    950

    #311E36

    oklch(27% 0.05 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF74BD 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)#6A86C00.108
Deuteranopia (no green cones)#798CBB0.098
Tritanopia (no blue cones)#B07D900.079
Achromatopsia (no color)#8A8A8A0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF74BD

    #AF74BD

    oklch(64.7% 0.124 319.8)

  • #64A055

    #64A055

    oklch(64.6% 0.123 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF74BD

    #AF74BD

    oklch(64.7% 0.124 319.8)

  • #8D80D4

    #8D80D4

    oklch(64.7% 0.124 289.6)

  • #C56D99

    #C56D99

    oklch(64.7% 0.123 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF74BD

    #AF74BD

    oklch(64.7% 0.124 319.8)

  • #93942C

    #93942C

    oklch(64.6% 0.123 110)

  • #18A682

    #18A682

    oklch(64.7% 0.124 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF74BD

    #AF74BD

    oklch(64.7% 0.124 319.8)

  • #B58421

    #B58421

    oklch(64.6% 0.123 79.8)

  • #00A2A8

    #00A2A8

    oklch(64.7% 0.11 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF74BD

    #AF74BD

    oklch(64.7% 0.124 319.8)

  • #C97544

    #C97544

    oklch(64.5% 0.123 49.5)

  • #64A055

    #64A055

    oklch(64.6% 0.123 139.5)

  • #189BCA

    #189BCA

    oklch(64.6% 0.123 229.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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