#9A42CC

Closest named color: Dark Orchid (#9932CC). oklch(55.9% 0.209 310.6), rgb(154, 66, 204).

Aa

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

About this color

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

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

Values

HEX#9A42CC
RGBrgb(154, 66, 204)
HSLhsl(278, 58%, 53%)
OKLCHoklch(55.9% 0.209 310.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 #9A42CC 5.21:1 AA Lc -80.5 Fine for body text
Black text on #9A42CC 4.02:1 AA large text Lc 29.0 Dividers and decoration only
#9A42CC text on white 5.21:1 AA Lc 75.1 Fine for body text
#9A42CC text on black 4.02:1 AA large text Lc -26.6 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

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300

    #D4B0EE

    oklch(81% 0.094 310.7)

  5. Step 400

    400

    #BE83E5

    oklch(70.6% 0.151 310.8)

  6. Step 500

    500

    #AE60DE

    oklch(63.2% 0.193 310.6)

  7. Step 600

    600 (this color)

    #9A42CC

    oklch(55.9% 0.209 310.6)

  8. Step 700

    700

    #8331B0

    oklch(49.1% 0.195 310.7)

  9. Step 800

    800

    #6A2B8E

    oklch(42.7% 0.16 310.6)

  10. Step 900

    900

    #562872

    oklch(37.6% 0.127 310.4)

  11. Step 950

    950

    #331943

    oklch(27.2% 0.08 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#9A42CC 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)#0068D00.183
Deuteranopia (no green cones)#2F6EC90.169
Tritanopia (no blue cones)#935F820.143
Achromatopsia (no color)#6C6C6C0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A42CC

    #9A42CC

    oklch(55.9% 0.209 310.6)

  • #548500

    #548500

    oklch(56% 0.152 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A42CC

    #9A42CC

    oklch(55.9% 0.209 310.6)

  • #6459E9

    #6459E9

    oklch(55.8% 0.21 280.6)

  • #BD2C98

    #BD2C98

    oklch(55.8% 0.209 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #9A42CC

    #9A42CC

    oklch(55.9% 0.209 310.6)

  • #847500

    #847500

    oklch(55.9% 0.116 100.4)

  • #008A5B

    #008A5B

    oklch(55.9% 0.125 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A42CC

    #9A42CC

    oklch(55.9% 0.209 310.6)

  • #A06600

    #A06600

    oklch(56% 0.121 70.8)

  • #008681

    #008681

    oklch(56% 0.097 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A42CC

    #9A42CC

    oklch(55.9% 0.209 310.6)

  • #C34400

    #C34400

    oklch(55.8% 0.174 40.5)

  • #548500

    #548500

    oklch(56% 0.152 130.7)

  • #00819E

    #00819E

    oklch(55.9% 0.102 220.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9A42CC 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.