#AF5BCE

Closest named color: Medium Orchid (#BA55D3). oklch(61.7% 0.184 316.1), rgb(175, 91, 206).

Aa

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

About this color

#AF5BCE is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.184 and its hue 316°. 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.21:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.184)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.21:1
White text4.03:1

Values

HEX#AF5BCE
RGBrgb(175, 91, 206)
HSLhsl(284, 54%, 58%)
OKLCHoklch(61.7% 0.184 316.1)

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 #AF5BCE 4.03:1 AA large text Lc -72.6 Content text, not long reading
Black text on #AF5BCE 5.21:1 AA Lc 37.0 Non-text elements, placeholder text
#AF5BCE text on white 4.03:1 AA large text Lc 67.1 Content text, not long reading
#AF5BCE text on black 5.21:1 AA Lc -34.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D8AFE8

    oklch(80.9% 0.09 316.4)

  5. Step 400

    400

    #C383DC

    oklch(70.7% 0.142 316.1)

  6. Step 500

    500 (this color)

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  7. Step 600

    600

    #9F41C0

    oklch(55.6% 0.201 316.1)

  8. Step 700

    700

    #8832A5

    oklch(49.1% 0.185 316.3)

  9. Step 800

    800

    #6E2B86

    oklch(42.7% 0.153 315.9)

  10. Step 900

    900

    #59286B

    oklch(37.6% 0.12 316)

  11. Step 950

    950

    #34193F

    oklch(27% 0.075 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5BCE 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)#3F79D20.166
Deuteranopia (no green cones)#5C81CB0.147
Tritanopia (no blue cones)#AD6E8C0.121
Achromatopsia (no color)#7F7F7F0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5BCE

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  • #4B9C00

    #4B9C00

    oklch(61.7% 0.183 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5BCE

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  • #806EEC

    #806EEC

    oklch(61.7% 0.183 286.3)

  • #CE4D9C

    #CE4D9C

    oklch(61.7% 0.183 346)

Open the analogous palette in the generator

Split complementary

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

  • #AF5BCE

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  • #908900

    #908900

    oklch(61.6% 0.131 106.1)

  • #009D73

    #009D73

    oklch(61.7% 0.128 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5BCE

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  • #B17900

    #B17900

    oklch(61.8% 0.13 76.5)

  • #00989A

    #00989A

    oklch(61.6% 0.105 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5BCE

    #AF5BCE

    oklch(61.7% 0.184 316.1)

  • #D55B00

    #D55B00

    oklch(61.7% 0.173 46.3)

  • #4B9C00

    #4B9C00

    oklch(61.7% 0.183 136)

  • #0093BB

    #0093BB

    oklch(61.8% 0.118 225.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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