#AF4DCD

Closest named color: Medium Orchid (#BA55D3). oklch(59.9% 0.203 317.5), rgb(175, 77, 205).

Aa

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

About this color

#AF4DCD is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.203 and its hue 317°. 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 4.76:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.203)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.76:1
White text4.40:1

Values

HEX#AF4DCD
RGBrgb(175, 77, 205)
HSLhsl(286, 56%, 55%)
OKLCHoklch(59.9% 0.203 317.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 #AF4DCD 4.40:1 AA large text Lc -75.4 Fine for body text
Black text on #AF4DCD 4.76:1 AA Lc 34.2 Non-text elements, placeholder text
#AF4DCD text on white 4.40:1 AA large text Lc 69.9 Content text, not long reading
#AF4DCD text on black 4.76:1 AA Lc -31.8 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

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DBADEB

    oklch(80.9% 0.099 317.2)

  5. Step 400

    400

    #C87EE1

    oklch(70.7% 0.159 317.2)

  6. Step 500

    500 (this color)

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  7. Step 600

    600

    #A536C5

    oklch(55.6% 0.221 317.5)

  8. Step 700

    700

    #8D26AA

    oklch(49% 0.205 317.5)

  9. Step 800

    800

    #73238A

    oklch(42.8% 0.17 317.5)

  10. Step 900

    900

    #5D236E

    oklch(37.6% 0.133 317.7)

  11. Step 950

    950

    #371641

    oklch(27.1% 0.085 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4DCD 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)#2572D10.195
Deuteranopia (no green cones)#517BCA0.168
Tritanopia (no blue cones)#AE63860.130
Achromatopsia (no color)#7878780.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4DCD

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  • #409700

    #409700

    oklch(59.9% 0.183 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4DCD

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  • #7E62F0

    #7E62F0

    oklch(59.9% 0.204 287.7)

  • #CF3B96

    #CF3B96

    oklch(59.8% 0.203 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF4DCD

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  • #898400

    #898400

    oklch(59.8% 0.128 107)

  • #009671

    #009671

    oklch(59.8% 0.121 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4DCD

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  • #A97400

    #A97400

    oklch(59.8% 0.125 77)

  • #009295

    #009295

    oklch(59.9% 0.102 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4DCD

    #AF4DCD

    oklch(59.9% 0.203 317.5)

  • #CB5900

    #CB5900

    oklch(59.9% 0.165 47.4)

  • #409700

    #409700

    oklch(59.9% 0.183 137.5)

  • #008CB5

    #008CB5

    oklch(59.7% 0.116 227.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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