#AF55D2

Closest named color: Medium Orchid (#BA55D3). oklch(61.1% 0.197 315.4), rgb(175, 85, 210).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.197)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.05:1
White text4.15:1

Values

HEX#AF55D2
RGBrgb(175, 85, 210)
HSLhsl(283, 58%, 58%)
OKLCHoklch(61.1% 0.197 315.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 #AF55D2 4.15:1 AA large text Lc -73.5 Content text, not long reading
Black text on #AF55D2 5.05:1 AA Lc 36.0 Non-text elements, placeholder text
#AF55D2 text on white 4.15:1 AA large text Lc 68.0 Content text, not long reading
#AF55D2 text on black 5.05:1 AA Lc -33.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D9AEEB

    oklch(80.9% 0.096 315.8)

  5. Step 400

    400

    #C580E1

    oklch(70.7% 0.154 315.6)

  6. Step 500

    500 (this color)

    #AF55D2

    oklch(61.1% 0.197 315.4)

  7. Step 600

    600

    #A13BC6

    oklch(55.6% 0.214 315.5)

  8. Step 700

    700

    #892CAB

    oklch(49.1% 0.198 315.2)

  9. Step 800

    800

    #70278A

    oklch(42.8% 0.164 315.7)

  10. Step 900

    900

    #5B266F

    oklch(37.8% 0.128 315.6)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF55D2 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)#2F77D60.182
Deuteranopia (no green cones)#547FCF0.159
Tritanopia (no blue cones)#AD6B8C0.129
Achromatopsia (no color)#7C7C7C0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF55D2

    #AF55D2

    oklch(61.1% 0.197 315.4)

  • #4D9A00

    #4D9A00

    oklch(61.2% 0.18 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF55D2

    #AF55D2

    oklch(61.1% 0.197 315.4)

  • #7D6AF2

    #7D6AF2

    oklch(61.2% 0.196 285.4)

  • #D0459D

    #D0459D

    oklch(61.2% 0.196 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF55D2

    #AF55D2

    oklch(61.1% 0.197 315.4)

  • #8F8700

    #8F8700

    oklch(61.1% 0.13 105.5)

  • #009B71

    #009B71

    oklch(61.1% 0.128 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF55D2

    #AF55D2

    oklch(61.1% 0.197 315.4)

  • #B07700

    #B07700

    oklch(61.3% 0.129 75.5)

  • #009797

    #009797

    oklch(61.2% 0.105 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF55D2

    #AF55D2

    oklch(61.1% 0.197 315.4)

  • #D45800

    #D45800

    oklch(61.1% 0.174 45.2)

  • #4D9A00

    #4D9A00

    oklch(61.2% 0.18 135.5)

  • #0091B8

    #0091B8

    oklch(61.1% 0.116 225.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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