#AF5CDC

Closest named color: Medium Orchid (#BA55D3). oklch(62.6% 0.197 312), rgb(175, 92, 220).

Aa

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

About this color

#AF5CDC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.197 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.026 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.197)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.38:1
White text3.89:1

Values

HEX#AF5CDC
RGBrgb(175, 92, 220)
HSLhsl(279, 65%, 61%)
OKLCHoklch(62.6% 0.197 312)

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 #AF5CDC 3.89:1 AA large text Lc -71.4 Content text, not long reading
Black text on #AF5CDC 5.38:1 AA Lc 38.2 Non-text elements, placeholder text
#AF5CDC text on white 3.89:1 AA large text Lc 65.9 Content text, not long reading
#AF5CDC text on black 5.38:1 AA Lc -35.7 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D6AFEE

    oklch(81% 0.096 312.3)

  5. Step 400

    400

    #C082E5

    oklch(70.7% 0.153 311.8)

  6. Step 500

    500 (this color)

    #AF5CDC

    oklch(62.6% 0.197 312)

  7. Step 600

    600

    #9C3ECB

    oklch(55.6% 0.214 312)

  8. Step 700

    700

    #852EB0

    oklch(49.1% 0.199 311.8)

  9. Step 800

    800

    #6C288E

    oklch(42.6% 0.165 312)

  10. Step 900

    900

    #582772

    oklch(37.8% 0.129 311.9)

  11. Step 950

    950

    #331843

    oklch(27% 0.082 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF5CDC 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)#327DE00.174
Deuteranopia (no green cones)#5383D90.154
Tritanopia (no blue cones)#AA73930.135
Achromatopsia (no color)#8181810.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CDC

    #AF5CDC

    oklch(62.6% 0.197 312)

  • #5E9C00

    #5E9C00

    oklch(62.6% 0.174 132)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CDC

    #AF5CDC

    oklch(62.6% 0.197 312)

  • #7A71F9

    #7A71F9

    oklch(62.7% 0.196 282.1)

  • #D24BA9

    #D24BA9

    oklch(62.6% 0.197 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CDC

    #AF5CDC

    oklch(62.6% 0.197 312)

  • #988A00

    #988A00

    oklch(62.6% 0.131 102.3)

  • #00A16E

    #00A16E

    oklch(62.7% 0.137 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CDC

    #AF5CDC

    oklch(62.6% 0.197 312)

  • #B97800

    #B97800

    oklch(62.6% 0.134 71.8)

  • #009C99

    #009C99

    oklch(62.6% 0.107 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CDC

    #AF5CDC

    oklch(62.6% 0.197 312)

  • #E15400

    #E15400

    oklch(62.7% 0.19 41.8)

  • #5E9C00

    #5E9C00

    oklch(62.6% 0.174 132)

  • #0097BA

    #0097BA

    oklch(62.7% 0.116 222)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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