#AF5ACE

Closest named color: Medium Orchid (#BA55D3). oklch(61.6% 0.185 316.2), rgb(175, 90, 206).

Aa

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

About this color

#AF5ACE is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.185 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.022 away. Black text reads best on it, at 5.17:1.

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

Values

HEX#AF5ACE
RGBrgb(175, 90, 206)
HSLhsl(284, 54%, 58%)
OKLCHoklch(61.6% 0.185 316.2)

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 #AF5ACE 4.05:1 AA large text Lc -72.8 Content text, not long reading
Black text on #AF5ACE 5.17:1 AA Lc 36.8 Non-text elements, placeholder text
#AF5ACE text on white 4.05:1 AA large text Lc 67.3 Content text, not long reading
#AF5ACE text on black 5.17:1 AA Lc -34.4 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

    #E7D0F0

    oklch(88.6% 0.05 316.5)

  4. Step 300

    300

    #D8AFE8

    oklch(80.9% 0.09 316.4)

  5. Step 400

    400

    #C482DD

    oklch(70.7% 0.146 316.3)

  6. Step 500

    500 (this color)

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  7. Step 600

    600

    #9F41C0

    oklch(55.6% 0.201 316.1)

  8. Step 700

    700

    #8831A6

    oklch(49.1% 0.187 316)

  9. Step 800

    800

    #6F2A86

    oklch(42.7% 0.155 316.5)

  10. Step 900

    900

    #5A286C

    oklch(37.8% 0.121 316.1)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF5ACE 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)#3D79D20.169
Deuteranopia (no green cones)#5B81CB0.149
Tritanopia (no blue cones)#AD6D8C0.121
Achromatopsia (no color)#7E7E7E0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5ACE

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  • #4A9C00

    #4A9C00

    oklch(61.6% 0.184 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5ACE

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  • #7F6DED

    #7F6DED

    oklch(61.5% 0.186 286)

  • #CE4C9C

    #CE4C9C

    oklch(61.6% 0.184 346)

Open the analogous palette in the generator

Split complementary

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

  • #AF5ACE

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  • #908900

    #908900

    oklch(61.6% 0.131 106.1)

  • #009C73

    #009C73

    oklch(61.4% 0.127 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5ACE

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  • #B07800

    #B07800

    oklch(61.5% 0.129 76.2)

  • #00989A

    #00989A

    oklch(61.6% 0.105 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5ACE

    #AF5ACE

    oklch(61.6% 0.185 316.2)

  • #D55B00

    #D55B00

    oklch(61.7% 0.173 46.3)

  • #4A9C00

    #4A9C00

    oklch(61.6% 0.184 136.2)

  • #0092BB

    #0092BB

    oklch(61.5% 0.118 226.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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