#AF5CDE

Closest named color: Medium Orchid (#BA55D3). oklch(62.8% 0.199 311.5), rgb(175, 92, 222).

Aa

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

About this color

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

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

Values

HEX#AF5CDE
RGBrgb(175, 92, 222)
HSLhsl(278, 66%, 62%)
OKLCHoklch(62.8% 0.199 311.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 #AF5CDE 3.88:1 AA large text Lc -71.3 Content text, not long reading
Black text on #AF5CDE 5.40:1 AA Lc 38.3 Non-text elements, placeholder text
#AF5CDE text on white 3.88:1 AA large text Lc 65.8 Content text, not long reading
#AF5CDE text on black 5.40:1 AA Lc -35.9 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

    #E5D0F4

    oklch(88.6% 0.054 311.2)

  4. Step 300

    300

    #D5AFEF

    oklch(80.9% 0.097 311.2)

  5. Step 400

    400

    #C082E7

    oklch(70.8% 0.155 311.3)

  6. Step 500

    500 (this color)

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  7. Step 600

    600

    #9C3DCD

    oklch(55.6% 0.217 311.6)

  8. Step 700

    700

    #852EB1

    oklch(49.1% 0.2 311.5)

  9. Step 800

    800

    #6C288F

    oklch(42.7% 0.166 311.6)

  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

#AF5CDE 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)#2F7DE20.175
Deuteranopia (no green cones)#5183DB0.155
Tritanopia (no blue cones)#AA74940.137
Achromatopsia (no color)#8181810.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CDE

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  • #609C00

    #609C00

    oklch(62.7% 0.173 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CDE

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  • #7971FB

    #7971FB

    oklch(62.7% 0.199 281.6)

  • #D34BAA

    #D34BAA

    oklch(62.8% 0.198 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CDE

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  • #998A00

    #998A00

    oklch(62.7% 0.131 101.7)

  • #00A16D

    #00A16D

    oklch(62.6% 0.138 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CDE

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  • #BA7800

    #BA7800

    oklch(62.7% 0.135 71.3)

  • #009D99

    #009D99

    oklch(62.9% 0.108 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CDE

    #AF5CDE

    oklch(62.8% 0.199 311.5)

  • #E25300

    #E25300

    oklch(62.7% 0.192 41.3)

  • #609C00

    #609C00

    oklch(62.7% 0.173 131.5)

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

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

Similar named colors

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

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