#AF74CA

Closest named color: Wisteria (#A87DC2). oklch(65.3% 0.138 314.6), rgb(175, 116, 202).

Aa

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

About this color

#AF74CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.138 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.029 away. Black text reads best on it, at 6.17:1.

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

Values

HEX#AF74CA
RGBrgb(175, 116, 202)
HSLhsl(281, 45%, 62%)
OKLCHoklch(65.3% 0.138 314.6)

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 #AF74CA 3.40:1 AA large text Lc -66.8 Content text, not long reading
Black text on #AF74CA 6.17:1 AA Lc 42.8 Non-text elements, placeholder text
#AF74CA text on white 3.40:1 AA large text Lc 61.3 Content text, not long reading
#AF74CA text on black 6.17:1 AA Lc -40.4 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

    #E3D2EB

    oklch(88.5% 0.038 315.1)

  4. Step 300

    300

    #D1B4DF

    oklch(80.9% 0.067 314.7)

  5. Step 400

    400

    #BA8CCF

    oklch(70.8% 0.107 314.9)

  6. Step 500

    500 (this color)

    #AF74CA

    oklch(65.3% 0.138 314.6)

  7. Step 600

    600

    #9354AF

    oklch(55.6% 0.149 314.5)

  8. Step 700

    700

    #7D4397

    oklch(49% 0.141 314.3)

  9. Step 800

    800

    #66387A

    oklch(42.7% 0.116 314.7)

  10. Step 900

    900

    #533162

    oklch(37.7% 0.09 314.8)

  11. Step 950

    950

    #311D3A

    oklch(27% 0.058 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF74CA 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)#6488CD0.115
Deuteranopia (no green cones)#748DC80.103
Tritanopia (no blue cones)#AD80950.094
Achromatopsia (no color)#8B8B8B0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF74CA

    #AF74CA

    oklch(65.3% 0.138 314.6)

  • #6AA245

    #6AA245

    oklch(65.2% 0.139 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF74CA

    #AF74CA

    oklch(65.3% 0.138 314.6)

  • #8882E1

    #8882E1

    oklch(65.3% 0.139 284.7)

  • #CA6AA4

    #CA6AA4

    oklch(65.3% 0.139 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF74CA

    #AF74CA

    oklch(65.3% 0.138 314.6)

  • #9E9300

    #9E9300

    oklch(65.2% 0.138 104.2)

  • #00AA7A

    #00AA7A

    oklch(65.4% 0.138 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF74CA

    #AF74CA

    oklch(65.3% 0.138 314.6)

  • #C18100

    #C18100

    oklch(65.3% 0.138 74.2)

  • #00A5A4

    #00A5A4

    oklch(65.3% 0.112 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF74CA

    #AF74CA

    oklch(65.3% 0.138 314.6)

  • #D47143

    #D47143

    oklch(65.3% 0.138 44.4)

  • #6AA245

    #6AA245

    oklch(65.2% 0.139 134.6)

  • #009FC8

    #009FC8

    oklch(65.3% 0.123 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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