#AF4ADB

Closest named color: Medium Orchid (#BA55D3). oklch(60.4% 0.221 313.8), rgb(175, 74, 219).

Aa

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

About this color

#AF4ADB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.221 and its hue 314°. 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.82:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.221)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.82:1
White text4.35:1

Values

HEX#AF4ADB
RGBrgb(175, 74, 219)
HSLhsl(282, 67%, 57%)
OKLCHoklch(60.4% 0.221 313.8)

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 #AF4ADB 4.35:1 AA large text Lc -74.9 Content text, not long reading
Black text on #AF4ADB 4.82:1 AA Lc 34.7 Non-text elements, placeholder text
#AF4ADB text on white 4.35:1 AA large text Lc 69.4 Content text, not long reading
#AF4ADB text on black 4.82:1 AA Lc -32.3 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

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF6

    oklch(88.5% 0.061 313.8)

  4. Step 300

    300

    #DAACF2

    oklch(80.9% 0.108 313.8)

  5. Step 400

    400

    #C77CEB

    oklch(70.8% 0.172 313.9)

  6. Step 500

    500 (this color)

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  7. Step 600

    600

    #A32ED2

    oklch(55.5% 0.239 313.7)

  8. Step 700

    700

    #8C1DB6

    oklch(49.1% 0.223 313.9)

  9. Step 800

    800

    #721D93

    oklch(42.7% 0.184 314.1)

  10. Step 900

    900

    #5C2075

    oklch(37.6% 0.144 314.1)

  11. Step 950

    950

    #361545

    oklch(27.1% 0.091 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4ADB 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)#0074DF0.206
Deuteranopia (no green cones)#427BD80.181
Tritanopia (no blue cones)#AB678D0.146
Achromatopsia (no color)#7979790.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4ADB

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  • #529600

    #529600

    oklch(60.4% 0.173 134)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4ADB

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  • #7862FD

    #7862FD

    oklch(60.3% 0.221 284.1)

  • #D434A1

    #D434A1

    oklch(60.4% 0.221 344.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF4ADB

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  • #8F8400

    #8F8400

    oklch(60.4% 0.127 103.7)

  • #00996C

    #00996C

    oklch(60.4% 0.129 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4ADB

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  • #AE7300

    #AE7300

    oklch(60.3% 0.128 73.6)

  • #009493

    #009493

    oklch(60.3% 0.103 193.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4ADB

    #AF4ADB

    oklch(60.4% 0.221 313.8)

  • #D35400

    #D35400

    oklch(60.4% 0.176 43.9)

  • #529600

    #529600

    oklch(60.4% 0.173 134)

  • #008FB3

    #008FB3

    oklch(60.4% 0.113 223.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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