#AF4CDE

Closest named color: Medium Orchid (#BA55D3). oklch(60.8% 0.221 312.9), rgb(175, 76, 222).

Aa

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

About this color

#AF4CDE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.221 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.035 away. Black text reads best on it, at 4.91:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.221)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.91:1
White text4.27:1

Values

HEX#AF4CDE
RGBrgb(175, 76, 222)
HSLhsl(281, 69%, 58%)
OKLCHoklch(60.8% 0.221 312.9)

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 #AF4CDE 4.27:1 AA large text Lc -74.3 Content text, not long reading
Black text on #AF4CDE 4.91:1 AA Lc 35.3 Non-text elements, placeholder text
#AF4CDE text on white 4.27:1 AA large text Lc 68.8 Content text, not long reading
#AF4CDE text on black 4.91:1 AA Lc -32.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E7CEF6

    oklch(88.4% 0.06 312.9)

  4. Step 300

    300

    #D9ACF3

    oklch(80.9% 0.109 312.8)

  5. Step 400

    400

    #C57CEC

    oklch(70.6% 0.173 312.8)

  6. Step 500

    500 (this color)

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  7. Step 600

    600

    #A22FD4

    oklch(55.6% 0.24 312.8)

  8. Step 700

    700

    #8B1EB8

    oklch(49.2% 0.224 312.9)

  9. Step 800

    800

    #711D95

    oklch(42.8% 0.186 312.9)

  10. Step 900

    900

    #5B2176

    oklch(37.7% 0.143 312.9)

  11. Step 950

    950

    #351545

    oklch(26.9% 0.09 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4CDE 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)#0075E20.203
Deuteranopia (no green cones)#417CDB0.180
Tritanopia (no blue cones)#AA698F0.147
Achromatopsia (no color)#7A7A7A0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4CDE

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  • #579700

    #579700

    oklch(60.9% 0.172 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4CDE

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  • #7765FF

    #7765FF

    oklch(60.9% 0.22 283)

  • #D436A5

    #D436A5

    oklch(60.8% 0.221 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF4CDE

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  • #918500

    #918500

    oklch(60.8% 0.128 103.1)

  • #009A6B

    #009A6B

    oklch(60.7% 0.131 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4CDE

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  • #B17400

    #B17400

    oklch(60.8% 0.13 72.8)

  • #009694

    #009694

    oklch(60.9% 0.104 193.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4CDE

    #AF4CDE

    oklch(60.8% 0.221 312.9)

  • #D65300

    #D65300

    oklch(60.8% 0.18 43)

  • #579700

    #579700

    oklch(60.9% 0.172 132.9)

  • #0091B4

    #0091B4

    oklch(60.9% 0.113 222.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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