#AF4DDC

Closest named color: Medium Orchid (#BA55D3). oklch(60.8% 0.218 313.3), rgb(175, 77, 220).

Aa

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

About this color

#AF4DDC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.218 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.032 away. Black text reads best on it, at 4.91:1.

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

Values

HEX#AF4DDC
RGBrgb(175, 77, 220)
HSLhsl(281, 67%, 58%)
OKLCHoklch(60.8% 0.218 313.3)

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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E7CEF5

    oklch(88.4% 0.059 313.5)

  4. Step 300

    300

    #D9ACF2

    oklch(80.9% 0.108 313.2)

  5. Step 400

    400

    #C67DEB

    oklch(70.8% 0.17 313.4)

  6. Step 500

    500 (this color)

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  7. Step 600

    600

    #A231D2

    oklch(55.6% 0.236 313.2)

  8. Step 700

    700

    #8B20B6

    oklch(49.2% 0.22 313.3)

  9. Step 800

    800

    #711F93

    oklch(42.8% 0.182 313.5)

  10. Step 900

    900

    #5B2175

    oklch(37.6% 0.142 313.4)

  11. Step 950

    950

    #351545

    oklch(26.9% 0.09 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4DDC 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)#0075E00.203
Deuteranopia (no green cones)#447DD90.178
Tritanopia (no blue cones)#AA698E0.145
Achromatopsia (no color)#7A7A7A0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4DDC

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  • #559700

    #559700

    oklch(60.8% 0.173 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4DDC

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  • #7765FD

    #7765FD

    oklch(60.7% 0.217 283.2)

  • #D438A3

    #D438A3

    oklch(60.8% 0.218 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF4DDC

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  • #918500

    #918500

    oklch(60.8% 0.128 103.1)

  • #009A6C

    #009A6C

    oklch(60.7% 0.13 163.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4DDC

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  • #B07400

    #B07400

    oklch(60.7% 0.129 73.3)

  • #009694

    #009694

    oklch(60.9% 0.104 193.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4DDC

    #AF4DDC

    oklch(60.8% 0.218 313.3)

  • #D55400

    #D55400

    oklch(60.8% 0.178 43.5)

  • #559700

    #559700

    oklch(60.8% 0.173 133.4)

  • #0090B4

    #0090B4

    oklch(60.7% 0.114 223.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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