#A040CC

Closest named color: Dark Orchid (#9932CC). oklch(56.4% 0.214 313.1), rgb(160, 64, 204).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.10:1
White text5.12:1

Values

HEX#A040CC
RGBrgb(160, 64, 204)
HSLhsl(281, 58%, 53%)
OKLCHoklch(56.4% 0.214 313.1)

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 #A040CC 5.12:1 AA Lc -79.9 Fine for body text
Black text on #A040CC 4.10:1 AA large text Lc 29.6 Dividers and decoration only
#A040CC text on white 5.12:1 AA Lc 74.5 Content text, not long reading
#A040CC text on black 4.10:1 AA large text Lc -27.2 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E6CFF3

    oklch(88.5% 0.055 313.4)

  4. Step 300

    300

    #D7AFED

    oklch(81% 0.096 313.4)

  5. Step 400

    400

    #C281E4

    oklch(70.7% 0.154 313.2)

  6. Step 500

    500

    #B25DDC

    oklch(63.1% 0.196 313)

  7. Step 600

    600 (this color)

    #A040CC

    oklch(56.4% 0.214 313.1)

  8. Step 700

    700

    #872EAE

    oklch(49.2% 0.198 313.3)

  9. Step 800

    800

    #6D288D

    oklch(42.7% 0.164 312.9)

  10. Step 900

    900

    #592771

    oklch(37.8% 0.128 313.1)

  11. Step 950

    950

    #341842

    oklch(27% 0.081 313)

Export this scale for Tailwind in the Tailwind colors tool

#A040CC 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)#0069D00.194
Deuteranopia (no green cones)#3570C90.176
Tritanopia (no blue cones)#9B5D810.143
Achromatopsia (no color)#6E6E6E0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #A040CC

    #A040CC

    oklch(56.4% 0.214 313.1)

  • #4D8800

    #4D8800

    oklch(56.4% 0.16 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A040CC

    #A040CC

    oklch(56.4% 0.214 313.1)

  • #6B58EC

    #6B58EC

    oklch(56.4% 0.213 283)

  • #C32996

    #C32996

    oklch(56.4% 0.214 343)

Open the analogous palette in the generator

Split complementary

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

  • #A040CC

    #A040CC

    oklch(56.4% 0.214 313.1)

  • #837800

    #837800

    oklch(56.5% 0.119 103.1)

  • #008B61

    #008B61

    oklch(56.3% 0.121 163.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A040CC

    #A040CC

    oklch(56.4% 0.214 313.1)

  • #9F6800

    #9F6800

    oklch(56.2% 0.12 73)

  • #008785

    #008785

    oklch(56.4% 0.097 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A040CC

    #A040CC

    oklch(56.4% 0.214 313.1)

  • #C14A00

    #C14A00

    oklch(56.3% 0.167 43)

  • #4D8800

    #4D8800

    oklch(56.4% 0.16 133.2)

  • #0082A2

    #0082A2

    oklch(56.3% 0.105 223)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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