#AF39CD

Closest named color: Dark Orchid (#9932CC). oklch(57.7% 0.228 318.6), rgb(175, 57, 205).

Aa

White text reads best on this color (4.89:1).

About this color

#AF39CD is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.228 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.046 away. White text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.228)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.28:1
White text4.89:1

Values

HEX#AF39CD
RGBrgb(175, 57, 205)
HSLhsl(288, 60%, 51%)
OKLCHoklch(57.7% 0.228 318.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 #AF39CD 4.89:1 AA Lc -78.3 Fine for body text
Black text on #AF39CD 4.28:1 AA large text Lc 31.2 Non-text elements, placeholder text
#AF39CD text on white 4.89:1 AA Lc 72.9 Content text, not long reading
#AF39CD text on black 4.28:1 AA large text Lc -28.8 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DDACEB

    oklch(81% 0.101 318.6)

  5. Step 400

    400

    #CB7CE1

    oklch(70.7% 0.164 318.6)

  6. Step 500

    500

    #BD54D9

    oklch(63.2% 0.211 318.6)

  7. Step 600

    600 (this color)

    #AF39CD

    oklch(57.7% 0.228 318.6)

  8. Step 700

    700

    #9020AB

    oklch(49.1% 0.213 318.6)

  9. Step 800

    800

    #751F8A

    oklch(42.7% 0.175 318.8)

  10. Step 900

    900

    #5F216F

    oklch(37.8% 0.138 318.7)

  11. Step 950

    950

    #381541

    oklch(27.1% 0.087 319)

Export this scale for Tailwind in the Tailwind colors tool

#AF39CD 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)#0069D10.221
Deuteranopia (no green cones)#4175CA0.197
Tritanopia (no blue cones)#AE57800.143
Achromatopsia (no color)#7171710.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF39CD

    #AF39CD

    oklch(57.7% 0.228 318.6)

  • #369100

    #369100

    oklch(57.9% 0.181 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF39CD

    #AF39CD

    oklch(57.7% 0.228 318.6)

  • #7B53F5

    #7B53F5

    oklch(57.8% 0.229 288.4)

  • #D11C8F

    #D11C8F

    oklch(57.7% 0.228 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF39CD

    #AF39CD

    oklch(57.7% 0.228 318.6)

  • #817E00

    #817E00

    oklch(57.7% 0.124 108.1)

  • #008F6D

    #008F6D

    oklch(57.8% 0.116 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF39CD

    #AF39CD

    oklch(57.7% 0.228 318.6)

  • #9F6F00

    #9F6F00

    oklch(57.6% 0.12 78.7)

  • #008B8F

    #008B8F

    oklch(57.8% 0.098 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF39CD

    #AF39CD

    oklch(57.7% 0.228 318.6)

  • #C05600

    #C05600

    oklch(57.8% 0.156 48.5)

  • #369100

    #369100

    oklch(57.9% 0.181 138.6)

  • #0085AE

    #0085AE

    oklch(57.6% 0.113 228.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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