#AF5DCF

Closest named color: Medium Orchid (#BA55D3). oklch(62% 0.182 315.6), rgb(175, 93, 207).

Aa

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

About this color

#AF5DCF is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.182 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.025 away. Black text reads best on it, at 5.28:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.182)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.28:1
White text3.97:1

Values

HEX#AF5DCF
RGBrgb(175, 93, 207)
HSLhsl(283, 54%, 59%)
OKLCHoklch(62% 0.182 315.6)

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 #AF5DCF 3.97:1 AA large text Lc -72.1 Content text, not long reading
Black text on #AF5DCF 5.28:1 AA Lc 37.5 Non-text elements, placeholder text
#AF5DCF text on white 3.97:1 AA large text Lc 66.6 Content text, not long reading
#AF5DCF text on black 5.28:1 AA Lc -35.1 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

    #D7AFE8

    oklch(80.8% 0.09 315.7)

  5. Step 400

    400

    #C283DC

    oklch(70.6% 0.142 315.6)

  6. Step 500

    500 (this color)

    #AF5DCF

    oklch(62% 0.182 315.6)

  7. Step 600

    600

    #9E43C0

    oklch(55.7% 0.197 315.5)

  8. Step 700

    700

    #8733A5

    oklch(49.1% 0.184 315.8)

  9. Step 800

    800

    #6E2C86

    oklch(42.8% 0.152 315.8)

  10. Step 900

    900

    #59296B

    oklch(37.7% 0.118 315.8)

  11. Step 950

    950

    #34193F

    oklch(27% 0.075 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DCF 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)#417BD30.163
Deuteranopia (no green cones)#5D82CC0.145
Tritanopia (no blue cones)#AD6F8D0.119
Achromatopsia (no color)#8080800.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DCF

    #AF5DCF

    oklch(62% 0.182 315.6)

  • #4E9D05

    #4E9D05

    oklch(62.1% 0.182 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DCF

    #AF5DCF

    oklch(62% 0.182 315.6)

  • #8070ED

    #8070ED

    oklch(62.1% 0.181 285.7)

  • #CE4F9E

    #CE4F9E

    oklch(62% 0.181 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DCF

    #AF5DCF

    oklch(62% 0.182 315.6)

  • #928A00

    #928A00

    oklch(62.1% 0.132 105.5)

  • #009E73

    #009E73

    oklch(62% 0.13 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DCF

    #AF5DCF

    oklch(62% 0.182 315.6)

  • #B37900

    #B37900

    oklch(62% 0.131 75.4)

  • #009A9B

    #009A9B

    oklch(62.2% 0.106 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DCF

    #AF5DCF

    oklch(62% 0.182 315.6)

  • #D85B00

    #D85B00

    oklch(62.2% 0.176 45.7)

  • #4E9D05

    #4E9D05

    oklch(62.1% 0.182 135.7)

  • #0094BC

    #0094BC

    oklch(62% 0.118 225.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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