#AF74C8

Closest named color: Wisteria (#A87DC2). oklch(65.2% 0.136 315.3), rgb(175, 116, 200).

Aa

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

About this color

#AF74C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.136 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.027 away. Black text reads best on it, at 6.15:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.15:1
White text3.41:1

Values

HEX#AF74C8
RGBrgb(175, 116, 200)
HSLhsl(282, 43%, 62%)
OKLCHoklch(65.2% 0.136 315.3)

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 #AF74C8 3.41:1 AA large text Lc -66.9 Content text, not long reading
Black text on #AF74C8 6.15:1 AA Lc 42.6 Non-text elements, placeholder text
#AF74C8 text on white 3.41:1 AA large text Lc 61.4 Content text, not long reading
#AF74C8 text on black 6.15:1 AA Lc -40.3 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D1B4DF

    oklch(80.9% 0.067 314.7)

  5. Step 400

    400

    #BA8CCE

    oklch(70.7% 0.106 315.3)

  6. Step 500

    500 (this color)

    #AF74C8

    oklch(65.2% 0.136 315.3)

  7. Step 600

    600

    #9354AD

    oklch(55.5% 0.147 315.2)

  8. Step 700

    700

    #7E4495

    oklch(49.2% 0.138 315.5)

  9. Step 800

    800

    #663879

    oklch(42.6% 0.115 315.2)

  10. Step 900

    900

    #533161

    oklch(37.6% 0.089 315.4)

  11. Step 950

    950

    #311D39

    oklch(27% 0.057 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF74C8 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)#6587CB0.113
Deuteranopia (no green cones)#748DC60.104
Tritanopia (no blue cones)#AE80940.093
Achromatopsia (no color)#8B8B8B0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF74C8

    #AF74C8

    oklch(65.2% 0.136 315.3)

  • #69A248

    #69A248

    oklch(65.2% 0.136 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF74C8

    #AF74C8

    oklch(65.2% 0.136 315.3)

  • #8982DF

    #8982DF

    oklch(65.3% 0.136 285.4)

  • #C96BA2

    #C96BA2

    oklch(65.2% 0.136 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF74C8

    #AF74C8

    oklch(65.2% 0.136 315.3)

  • #9C940B

    #9C940B

    oklch(65.3% 0.137 105.7)

  • #02A97B

    #02A97B

    oklch(65.1% 0.136 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF74C8

    #AF74C8

    oklch(65.2% 0.136 315.3)

  • #BF8206

    #BF8206

    oklch(65.2% 0.136 75.5)

  • #00A4A5

    #00A4A5

    oklch(65.1% 0.111 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF74C8

    #AF74C8

    oklch(65.2% 0.136 315.3)

  • #D27243

    #D27243

    oklch(65.2% 0.135 45.5)

  • #69A248

    #69A248

    oklch(65.2% 0.136 135.4)

  • #009EC8

    #009EC8

    oklch(65.1% 0.124 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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