#AF4ED0

Closest named color: Medium Orchid (#BA55D3). oklch(60.1% 0.205 316.5), rgb(175, 78, 208).

Aa

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

About this color

#AF4ED0 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.205 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.026 away. Black text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.205)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.82:1
White text4.35:1

Values

HEX#AF4ED0
RGBrgb(175, 78, 208)
HSLhsl(285, 58%, 56%)
OKLCHoklch(60.1% 0.205 316.5)

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 #AF4ED0 4.35:1 AA large text Lc -75.0 Content text, not long reading
Black text on #AF4ED0 4.82:1 AA Lc 34.6 Non-text elements, placeholder text
#AF4ED0 text on white 4.35:1 AA large text Lc 69.5 Content text, not long reading
#AF4ED0 text on black 4.82:1 AA Lc -32.2 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CEF2

    oklch(88.4% 0.056 316.6)

  4. Step 300

    300

    #DBADEC

    oklch(81% 0.1 316.8)

  5. Step 400

    400

    #C87EE2

    oklch(70.7% 0.16 316.9)

  6. Step 500

    500 (this color)

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  7. Step 600

    600

    #A436C7

    oklch(55.6% 0.222 316.6)

  8. Step 700

    700

    #8C26AC

    oklch(49% 0.207 316.4)

  9. Step 800

    800

    #72238B

    oklch(42.7% 0.17 316.7)

  10. Step 900

    900

    #5C2370

    oklch(37.6% 0.134 316.1)

  11. Step 950

    950

    #361641

    oklch(26.9% 0.084 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF4ED0 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)#2273D40.195
Deuteranopia (no green cones)#507CCD0.168
Tritanopia (no blue cones)#AD65880.132
Achromatopsia (no color)#7979790.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4ED0

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  • #469700

    #469700

    oklch(60.1% 0.18 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4ED0

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  • #7D64F2

    #7D64F2

    oklch(60.2% 0.204 286.7)

  • #D03C99

    #D03C99

    oklch(60.1% 0.205 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF4ED0

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  • #8B8500

    #8B8500

    oklch(60.3% 0.129 106.5)

  • #009870

    #009870

    oklch(60.3% 0.125 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4ED0

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  • #AB7500

    #AB7500

    oklch(60.3% 0.126 76.6)

  • #009395

    #009395

    oklch(60.1% 0.102 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4ED0

    #AF4ED0

    oklch(60.1% 0.205 316.5)

  • #CD5800

    #CD5800

    oklch(60.1% 0.167 46.6)

  • #469700

    #469700

    oklch(60.1% 0.18 136.5)

  • #008EB5

    #008EB5

    oklch(60.2% 0.115 225.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF4ED0.

Similar named colors

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

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