#AF5CC2

Closest named color: Medium Orchid (#BA55D3). oklch(61.2% 0.17 319.9), rgb(175, 92, 194).

Aa

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

About this color

#AF5CC2 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.170 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.035 away. Black text reads best on it, at 5.13:1.

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

Values

HEX#AF5CC2
RGBrgb(175, 92, 194)
HSLhsl(289, 46%, 56%)
OKLCHoklch(61.2% 0.17 319.9)

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 #AF5CC2 4.09:1 AA large text Lc -73.2 Content text, not long reading
Black text on #AF5CC2 5.13:1 AA Lc 36.4 Non-text elements, placeholder text
#AF5CC2 text on white 4.09:1 AA large text Lc 67.7 Content text, not long reading
#AF5CC2 text on black 5.13:1 AA Lc -34.0 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300

    #D9B0E2

    oklch(81% 0.082 320.2)

  5. Step 400

    400

    #C584D4

    oklch(70.7% 0.133 319.9)

  6. Step 500

    500 (this color)

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  7. Step 600

    600

    #A045B5

    oklch(55.5% 0.185 319.7)

  8. Step 700

    700

    #89369C

    oklch(49.1% 0.172 319.7)

  9. Step 800

    800

    #6F2E7E

    oklch(42.7% 0.141 319.7)

  10. Step 900

    900

    #5A2A65

    oklch(37.6% 0.11 319.9)

  11. Step 950

    950

    #35193B

    oklch(26.9% 0.07 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5CC2 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)#4978C50.158
Deuteranopia (no green cones)#6480BF0.139
Tritanopia (no blue cones)#B06B860.108
Achromatopsia (no color)#7D7D7D0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CC2

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  • #429B2B

    #429B2B

    oklch(61.2% 0.17 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CC2

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  • #856DE1

    #856DE1

    oklch(61.3% 0.17 290)

  • #CB5092

    #CB5092

    oklch(61.2% 0.171 350)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CC2

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  • #898A00

    #898A00

    oklch(61.2% 0.134 110.3)

  • #009B78

    #009B78

    oklch(61.3% 0.122 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CC2

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  • #AB7900

    #AB7900

    oklch(61.1% 0.127 79.7)

  • #00969C

    #00969C

    oklch(61.2% 0.104 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CC2

    #AF5CC2

    oklch(61.2% 0.17 319.9)

  • #CD5F00

    #CD5F00

    oklch(61.1% 0.162 49.7)

  • #429B2B

    #429B2B

    oklch(61.2% 0.17 140)

  • #0090BE

    #0090BE

    oklch(61.2% 0.122 229.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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