#AF4DC8

Closest named color: Medium Orchid (#BA55D3). oklch(59.6% 0.198 319), rgb(175, 77, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.198)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.71:1
White text4.45:1

Values

HEX#AF4DC8
RGBrgb(175, 77, 200)
HSLhsl(288, 53%, 54%)
OKLCHoklch(59.6% 0.198 319)

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 #AF4DC8 4.45:1 AA large text Lc -75.7 Fine for body text
Black text on #AF4DC8 4.71:1 AA Lc 33.9 Non-text elements, placeholder text
#AF4DC8 text on white 4.45:1 AA large text Lc 70.2 Content text, not long reading
#AF4DC8 text on black 4.71:1 AA Lc -31.4 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

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF0

    oklch(88.4% 0.054 319.3)

  4. Step 300

    300

    #DCADE9

    oklch(81% 0.097 318.8)

  5. Step 400

    400

    #C97EDD

    oklch(70.6% 0.155 319)

  6. Step 500

    500 (this color)

    #AF4DC8

    oklch(59.6% 0.198 319)

  7. Step 600

    600

    #A638C1

    oklch(55.7% 0.215 318.9)

  8. Step 700

    700

    #8E28A6

    oklch(49.1% 0.2 319.1)

  9. Step 800

    800

    #732487

    oklch(42.7% 0.166 318.7)

  10. Step 900

    900

    #5D246C

    oklch(37.6% 0.129 318.7)

  11. Step 950

    950

    #37163F

    oklch(27% 0.082 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF4DC8 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)#2C71CC0.192
Deuteranopia (no green cones)#547BC50.167
Tritanopia (no blue cones)#AF61840.123
Achromatopsia (no color)#7777770.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4DC8

    #AF4DC8

    oklch(59.6% 0.198 319)

  • #369700

    #369700

    oklch(59.5% 0.187 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4DC8

    #AF4DC8

    oklch(59.6% 0.198 319)

  • #7F61EB

    #7F61EB

    oklch(59.4% 0.199 288.9)

  • #CE3D91

    #CE3D91

    oklch(59.6% 0.198 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF4DC8

    #AF4DC8

    oklch(59.6% 0.198 319)

  • #868400

    #868400

    oklch(59.6% 0.129 108.7)

  • #009572

    #009572

    oklch(59.5% 0.119 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4DC8

    #AF4DC8

    oklch(59.6% 0.198 319)

  • #A67400

    #A67400

    oklch(59.5% 0.124 78.6)

  • #009196

    #009196

    oklch(59.6% 0.101 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4DC8

    #AF4DC8

    oklch(59.6% 0.198 319)

  • #C75B00

    #C75B00

    oklch(59.6% 0.159 49.2)

  • #369700

    #369700

    oklch(59.5% 0.187 138.9)

  • #008BB6

    #008BB6

    oklch(59.5% 0.117 228.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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