#AF55C2

Closest named color: Medium Orchid (#BA55D3). oklch(60.2% 0.181 320.4), rgb(175, 85, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.181)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.90:1
White text4.28:1

Values

HEX#AF55C2
RGBrgb(175, 85, 194)
HSLhsl(290, 47%, 55%)
OKLCHoklch(60.2% 0.181 320.4)

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 #AF55C2 4.28:1 AA large text Lc -74.6 Content text, not long reading
Black text on #AF55C2 4.90:1 AA Lc 35.0 Non-text elements, placeholder text
#AF55C2 text on white 4.28:1 AA large text Lc 69.1 Content text, not long reading
#AF55C2 text on black 4.90:1 AA Lc -32.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEE

    oklch(88.5% 0.05 319.7)

  4. Step 300

    300

    #DBAEE4

    oklch(80.9% 0.089 320.7)

  5. Step 400

    400

    #C881D7

    oklch(70.7% 0.143 320.5)

  6. Step 500

    500 (this color)

    #AF55C2

    oklch(60.2% 0.181 320.4)

  7. Step 600

    600

    #A440B8

    oklch(55.7% 0.197 320.6)

  8. Step 700

    700

    #8C309F

    oklch(49.1% 0.184 320.3)

  9. Step 800

    800

    #722A81

    oklch(42.8% 0.152 320.3)

  10. Step 900

    900

    #5C2867

    oklch(37.7% 0.117 320.3)

  11. Step 950

    950

    #36183C

    oklch(26.9% 0.074 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF55C2 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)#3F74C50.172
Deuteranopia (no green cones)#5E7DBF0.150
Tritanopia (no blue cones)#B065830.113
Achromatopsia (no color)#7A7A7A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF55C2

    #AF55C2

    oklch(60.2% 0.181 320.4)

  • #36991D

    #36991D

    oklch(60.2% 0.181 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF55C2

    #AF55C2

    oklch(60.2% 0.181 320.4)

  • #8367E3

    #8367E3

    oklch(60.2% 0.181 290.3)

  • #CB488F

    #CB488F

    oklch(60.2% 0.18 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF55C2

    #AF55C2

    oklch(60.2% 0.181 320.4)

  • #868700

    #868700

    oklch(60.3% 0.132 110.3)

  • #009776

    #009776

    oklch(60.2% 0.119 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF55C2

    #AF55C2

    oklch(60.2% 0.181 320.4)

  • #A77700

    #A77700

    oklch(60.2% 0.125 80.4)

  • #009399

    #009399

    oklch(60.3% 0.102 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF55C2

    #AF55C2

    oklch(60.2% 0.181 320.4)

  • #C85E00

    #C85E00

    oklch(60.2% 0.158 50.4)

  • #36991D

    #36991D

    oklch(60.2% 0.181 140.3)

  • #008DBB

    #008DBB

    oklch(60.3% 0.121 230.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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