#AA38C6

Closest named color: Dark Orchid (#9932CC). oklch(56.5% 0.221 318.9), rgb(170, 56, 198).

Aa

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

About this color

#AA38C6 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.221 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.038 away. White text reads best on it, at 5.13:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.221)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.09:1
White text5.13:1

Values

HEX#AA38C6
RGBrgb(170, 56, 198)
HSLhsl(288, 56%, 50%)
OKLCHoklch(56.5% 0.221 318.9)

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 #AA38C6 5.13:1 AA Lc -79.8 Fine for body text
Black text on #AA38C6 4.09:1 AA large text Lc 29.7 Dividers and decoration only
#AA38C6 text on white 5.13:1 AA Lc 74.4 Content text, not long reading
#AA38C6 text on black 4.09:1 AA large text Lc -27.4 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DDACEA

    oklch(80.9% 0.1 319.1)

  5. Step 400

    400

    #CA7DDF

    oklch(70.7% 0.159 318.8)

  6. Step 500

    500

    #BC56D6

    oklch(63.1% 0.205 319)

  7. Step 600

    600 (this color)

    #AA38C6

    oklch(56.5% 0.221 318.9)

  8. Step 700

    700

    #8F25A8

    oklch(49.1% 0.205 319)

  9. Step 800

    800

    #742288

    oklch(42.7% 0.17 318.9)

  10. Step 900

    900

    #5E236D

    oklch(37.7% 0.132 318.9)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#AA38C6 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)#0066CA0.216
Deuteranopia (no green cones)#4171C30.190
Tritanopia (no blue cones)#AA547C0.138
Achromatopsia (no color)#6E6E6E0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA38C6

    #AA38C6

    oklch(56.5% 0.221 318.9)

  • #328D00

    #328D00

    oklch(56.6% 0.178 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA38C6

    #AA38C6

    oklch(56.5% 0.221 318.9)

  • #7851EC

    #7851EC

    oklch(56.5% 0.221 288.9)

  • #CB1E8A

    #CB1E8A

    oklch(56.6% 0.221 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #AA38C6

    #AA38C6

    oklch(56.5% 0.221 318.9)

  • #7C7B00

    #7C7B00

    oklch(56.5% 0.123 109.2)

  • #008B6A

    #008B6A

    oklch(56.6% 0.114 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA38C6

    #AA38C6

    oklch(56.5% 0.221 318.9)

  • #9B6C00

    #9B6C00

    oklch(56.5% 0.118 78.6)

  • #00878B

    #00878B

    oklch(56.6% 0.096 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA38C6

    #AA38C6

    oklch(56.5% 0.221 318.9)

  • #BA5400

    #BA5400

    oklch(56.6% 0.152 48.9)

  • #328D00

    #328D00

    oklch(56.6% 0.178 138.9)

  • #0081AA

    #0081AA

    oklch(56.4% 0.112 229.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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