#AF55CB

Closest named color: Medium Orchid (#BA55D3). oklch(60.7% 0.19 317.5), rgb(175, 85, 203).

Aa

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

About this color

#AF55CB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.190 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 4.98:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.190)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.98:1
White text4.21:1

Values

HEX#AF55CB
RGBrgb(175, 85, 203)
HSLhsl(286, 53%, 56%)
OKLCHoklch(60.7% 0.19 317.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 #AF55CB 4.21:1 AA large text Lc -74.0 Content text, not long reading
Black text on #AF55CB 4.98:1 AA Lc 35.6 Non-text elements, placeholder text
#AF55CB text on white 4.21:1 AA large text Lc 68.5 Content text, not long reading
#AF55CB text on black 4.98:1 AA Lc -33.1 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

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DAAEE8

    oklch(80.9% 0.093 317.9)

  5. Step 400

    400

    #C681DD

    oklch(70.8% 0.148 317.3)

  6. Step 500

    500 (this color)

    #AF55CB

    oklch(60.7% 0.19 317.5)

  7. Step 600

    600

    #A23DC0

    oklch(55.6% 0.207 317.5)

  8. Step 700

    700

    #8B2EA6

    oklch(49.2% 0.192 317.5)

  9. Step 800

    800

    #712886

    oklch(42.7% 0.159 317.8)

  10. Step 900

    900

    #5B276B

    oklch(37.7% 0.122 317.5)

  11. Step 950

    950

    #36183F

    oklch(27.1% 0.078 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF55CB 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)#3776CF0.178
Deuteranopia (no green cones)#597EC80.155
Tritanopia (no blue cones)#AE68880.122
Achromatopsia (no color)#7B7B7B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF55CB

    #AF55CB

    oklch(60.7% 0.19 317.5)

  • #419A00

    #419A00

    oklch(60.7% 0.186 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF55CB

    #AF55CB

    oklch(60.7% 0.19 317.5)

  • #8068EB

    #8068EB

    oklch(60.7% 0.19 287.8)

  • #CE4697

    #CE4697

    oklch(60.7% 0.19 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF55CB

    #AF55CB

    oklch(60.7% 0.19 317.5)

  • #8B8700

    #8B8700

    oklch(60.7% 0.131 107.6)

  • #009973

    #009973

    oklch(60.6% 0.123 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF55CB

    #AF55CB

    oklch(60.7% 0.19 317.5)

  • #AC7700

    #AC7700

    oklch(60.8% 0.127 77.6)

  • #009598

    #009598

    oklch(60.8% 0.103 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF55CB

    #AF55CB

    oklch(60.7% 0.19 317.5)

  • #CF5B00

    #CF5B00

    oklch(60.8% 0.167 47.5)

  • #419A00

    #419A00

    oklch(60.7% 0.186 137.5)

  • #008FB9

    #008FB9

    oklch(60.7% 0.118 227.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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