#AF5ACC

Closest named color: Medium Orchid (#BA55D3). oklch(61.5% 0.183 316.8), rgb(175, 90, 204).

Aa

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

About this color

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

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

Values

HEX#AF5ACC
RGBrgb(175, 90, 204)
HSLhsl(285, 53%, 58%)
OKLCHoklch(61.5% 0.183 316.8)

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 #AF5ACC 4.07:1 AA large text Lc -72.9 Content text, not long reading
Black text on #AF5ACC 5.15:1 AA Lc 36.6 Non-text elements, placeholder text
#AF5ACC text on white 4.07:1 AA large text Lc 67.4 Content text, not long reading
#AF5ACC text on black 5.15:1 AA Lc -34.2 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

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  5. Step 400

    400

    #C482DB

    oklch(70.6% 0.144 317)

  6. Step 500

    500 (this color)

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  7. Step 600

    600

    #A041BE

    oklch(55.6% 0.199 317.1)

  8. Step 700

    700

    #8832A4

    oklch(49.1% 0.184 316.6)

  9. Step 800

    800

    #6F2B85

    oklch(42.7% 0.153 316.9)

  10. Step 900

    900

    #5A286B

    oklch(37.7% 0.12 316.7)

  11. Step 950

    950

    #35183E

    oklch(26.9% 0.076 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF5ACC 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)#3F78D00.167
Deuteranopia (no green cones)#5C80C90.148
Tritanopia (no blue cones)#AE6C8B0.118
Achromatopsia (no color)#7E7E7E0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5ACC

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  • #489C07

    #489C07

    oklch(61.6% 0.183 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5ACC

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  • #806DEB

    #806DEB

    oklch(61.5% 0.183 286.6)

  • #CE4C9A

    #CE4C9A

    oklch(61.5% 0.183 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF5ACC

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  • #8E8900

    #8E8900

    oklch(61.5% 0.132 107.1)

  • #009C74

    #009C74

    oklch(61.5% 0.126 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5ACC

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  • #AF7800

    #AF7800

    oklch(61.4% 0.128 76.8)

  • #00979A

    #00979A

    oklch(61.4% 0.104 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5ACC

    #AF5ACC

    oklch(61.5% 0.183 316.8)

  • #D35B00

    #D35B00

    oklch(61.4% 0.171 46.6)

  • #489C07

    #489C07

    oklch(61.6% 0.183 136.8)

  • #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 #AF5ACC, closest first.

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

Similar named colors

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

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