#AF5ECF

Closest named color: Medium Orchid (#BA55D3). oklch(62.2% 0.18 315.5), rgb(175, 94, 207).

Aa

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

About this color

#AF5ECF 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.026 away. Black text reads best on it, at 5.32:1.

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

Values

HEX#AF5ECF
RGBrgb(175, 94, 207)
HSLhsl(283, 54%, 59%)
OKLCHoklch(62.2% 0.18 315.5)

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 #AF5ECF 3.94:1 AA large text Lc -71.9 Content text, not long reading
Black text on #AF5ECF 5.32:1 AA Lc 37.7 Non-text elements, placeholder text
#AF5ECF text on white 3.94:1 AA large text Lc 66.4 Content text, not long reading
#AF5ECF text on black 5.32:1 AA Lc -35.3 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

    #D7B0E8

    oklch(81% 0.088 315.5)

  5. Step 400

    400

    #C284DC

    oklch(70.8% 0.14 315.4)

  6. Step 500

    500 (this color)

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  7. Step 600

    600

    #9D43BF

    oklch(55.5% 0.196 315.4)

  8. Step 700

    700

    #8634A5

    oklch(49.1% 0.182 315.2)

  9. Step 800

    800

    #6D2C86

    oklch(42.7% 0.152 315.2)

  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

#AF5ECF 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)#427BD30.162
Deuteranopia (no green cones)#5E82CC0.142
Tritanopia (no blue cones)#AD708E0.118
Achromatopsia (no color)#8080800.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5ECF

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  • #509D0A

    #509D0A

    oklch(62.2% 0.18 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5ECF

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  • #8070ED

    #8070ED

    oklch(62.1% 0.181 285.7)

  • #CE509E

    #CE509E

    oklch(62.1% 0.18 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF5ECF

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  • #928A00

    #928A00

    oklch(62.1% 0.132 105.5)

  • #009F74

    #009F74

    oklch(62.3% 0.13 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5ECF

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  • #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.

  • #AF5ECF

    #AF5ECF

    oklch(62.2% 0.18 315.5)

  • #D85B00

    #D85B00

    oklch(62.2% 0.176 45.7)

  • #509D0A

    #509D0A

    oklch(62.2% 0.18 135.5)

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

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

Similar named colors

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

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