#AF57CB

Closest named color: Medium Orchid (#BA55D3). oklch(61% 0.187 317.3), rgb(175, 87, 203).

Aa

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

About this color

#AF57CB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.187 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.023 away. Black text reads best on it, at 5.04:1.

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

Values

HEX#AF57CB
RGBrgb(175, 87, 203)
HSLhsl(286, 53%, 57%)
OKLCHoklch(61% 0.187 317.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 #AF57CB 4.15:1 AA large text Lc -73.6 Content text, not long reading
Black text on #AF57CB 5.04:1 AA Lc 36.0 Non-text elements, placeholder text
#AF57CB text on white 4.15:1 AA large text Lc 68.1 Content text, not long reading
#AF57CB text on black 5.04:1 AA Lc -33.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D9AEE8

    oklch(80.8% 0.092 317.2)

  5. Step 400

    400

    #C581DC

    oklch(70.6% 0.147 317.2)

  6. Step 500

    500 (this color)

    #AF57CB

    oklch(61% 0.187 317.3)

  7. Step 600

    600

    #A13FBF

    oklch(55.6% 0.203 317.3)

  8. Step 700

    700

    #8A30A5

    oklch(49.2% 0.189 317.3)

  9. Step 800

    800

    #702986

    oklch(42.7% 0.157 317.2)

  10. Step 900

    900

    #5B276B

    oklch(37.7% 0.122 317.5)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF57CB 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)#3B77CF0.173
Deuteranopia (no green cones)#5A7FC80.152
Tritanopia (no blue cones)#AE6A890.120
Achromatopsia (no color)#7C7C7C0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF57CB

    #AF57CB

    oklch(61% 0.187 317.3)

  • #439B00

    #439B00

    oklch(61.1% 0.186 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF57CB

    #AF57CB

    oklch(61% 0.187 317.3)

  • #806AEB

    #806AEB

    oklch(61% 0.187 287.3)

  • #CE4898

    #CE4898

    oklch(61% 0.188 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF57CB

    #AF57CB

    oklch(61% 0.187 317.3)

  • #8C8800

    #8C8800

    oklch(61% 0.131 107.6)

  • #009A74

    #009A74

    oklch(60.9% 0.124 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF57CB

    #AF57CB

    oklch(61% 0.187 317.3)

  • #AD7700

    #AD7700

    oklch(60.9% 0.127 77.1)

  • #009699

    #009699

    oklch(61.1% 0.104 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF57CB

    #AF57CB

    oklch(61% 0.187 317.3)

  • #D05B00

    #D05B00

    oklch(60.9% 0.168 47.2)

  • #439B00

    #439B00

    oklch(61.1% 0.186 137.3)

  • #0090BA

    #0090BA

    oklch(61% 0.118 227.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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