#AF5FD0

Closest named color: Medium Orchid (#BA55D3). oklch(62.4% 0.18 315.1), rgb(175, 95, 208).

Aa

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

About this color

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

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

Values

HEX#AF5FD0
RGBrgb(175, 95, 208)
HSLhsl(282, 55%, 59%)
OKLCHoklch(62.4% 0.18 315.1)

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 #AF5FD0 3.91:1 AA large text Lc -71.6 Content text, not long reading
Black text on #AF5FD0 5.37:1 AA Lc 38.0 Non-text elements, placeholder text
#AF5FD0 text on white 3.91:1 AA large text Lc 66.1 Content text, not long reading
#AF5FD0 text on black 5.37:1 AA Lc -35.6 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D6B0E8

    oklch(80.9% 0.087 314.8)

  5. Step 400

    400

    #C184DC

    oklch(70.7% 0.14 315)

  6. Step 500

    500 (this color)

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  7. Step 600

    600

    #9D44BF

    oklch(55.6% 0.195 315.3)

  8. Step 700

    700

    #8634A5

    oklch(49.1% 0.182 315.2)

  9. Step 800

    800

    #6D2D86

    oklch(42.8% 0.15 315.1)

  10. Step 900

    900

    #582A6B

    oklch(37.7% 0.116 314.9)

  11. Step 950

    950

    #34193F

    oklch(27% 0.075 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FD0 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)#437CD40.160
Deuteranopia (no green cones)#5E83CD0.142
Tritanopia (no blue cones)#AD718F0.118
Achromatopsia (no color)#8181810.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FD0

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  • #529D09

    #529D09

    oklch(62.3% 0.179 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FD0

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  • #8071ED

    #8071ED

    oklch(62.3% 0.18 285.4)

  • #CE519F

    #CE519F

    oklch(62.3% 0.179 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FD0

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  • #948B00

    #948B00

    oklch(62.5% 0.133 105)

  • #009F73

    #009F73

    oklch(62.2% 0.131 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FD0

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  • #B57A00

    #B57A00

    oklch(62.5% 0.132 75.1)

  • #009B9B

    #009B9B

    oklch(62.4% 0.107 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FD0

    #AF5FD0

    oklch(62.4% 0.18 315.1)

  • #DA5A00

    #DA5A00

    oklch(62.3% 0.178 45)

  • #529D09

    #529D09

    oklch(62.3% 0.179 135)

  • #0095BD

    #0095BD

    oklch(62.3% 0.119 225.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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