#AF4CD4

Closest named color: Medium Orchid (#BA55D3). oklch(60.2% 0.211 315.6), rgb(175, 76, 212).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.211)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.80:1
White text4.36:1

Values

HEX#AF4CD4
RGBrgb(175, 76, 212)
HSLhsl(284, 61%, 56%)
OKLCHoklch(60.2% 0.211 315.6)

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 #AF4CD4 4.36:1 AA large text Lc -75.0 Fine for body text
Black text on #AF4CD4 4.80:1 AA Lc 34.5 Non-text elements, placeholder text
#AF4CD4 text on white 4.36:1 AA large text Lc 69.6 Content text, not long reading
#AF4CD4 text on black 4.80:1 AA Lc -32.1 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

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DAACEE

    oklch(80.8% 0.103 315.4)

  5. Step 400

    400

    #C77DE6

    oklch(70.7% 0.165 315.3)

  6. Step 500

    500 (this color)

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  7. Step 600

    600

    #A433CB

    oklch(55.6% 0.229 315.7)

  8. Step 700

    700

    #8C22B0

    oklch(49% 0.214 315.4)

  9. Step 800

    800

    #72208F

    oklch(42.7% 0.178 315.4)

  10. Step 900

    900

    #5C2272

    oklch(37.7% 0.138 315.3)

  11. Step 950

    950

    #361543

    oklch(26.9% 0.088 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF4CD4 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)#1373D80.202
Deuteranopia (no green cones)#4B7CD10.174
Tritanopia (no blue cones)#AC65890.138
Achromatopsia (no color)#7979790.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4CD4

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  • #4B9600

    #4B9600

    oklch(60.1% 0.177 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4CD4

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  • #7B63F6

    #7B63F6

    oklch(60.2% 0.21 285.7)

  • #D1389C

    #D1389C

    oklch(60.1% 0.212 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF4CD4

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  • #8C8400

    #8C8400

    oklch(60.1% 0.128 105.4)

  • #00986E

    #00986E

    oklch(60.2% 0.126 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4CD4

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  • #AC7400

    #AC7400

    oklch(60.2% 0.127 75.4)

  • #009394

    #009394

    oklch(60.1% 0.102 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4CD4

    #AF4CD4

    oklch(60.2% 0.211 315.6)

  • #CF5700

    #CF5700

    oklch(60.2% 0.17 45.7)

  • #4B9600

    #4B9600

    oklch(60.1% 0.177 135.4)

  • #008EB4

    #008EB4

    oklch(60.2% 0.114 225.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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