#9E34D7

Closest named color: Dark Orchid (#9932CC). oklch(55.7% 0.237 310.4), rgb(158, 52, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.237)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.92:1
White text5.34:1

Values

HEX#9E34D7
RGBrgb(158, 52, 215)
HSLhsl(279, 67%, 52%)
OKLCHoklch(55.7% 0.237 310.4)

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 #9E34D7 5.34:1 AA Lc -80.9 Fine for body text
Black text on #9E34D7 3.92:1 AA large text Lc 28.6 Dividers and decoration only
#9E34D7 text on white 5.34:1 AA Lc 75.5 Fine for body text
#9E34D7 text on black 3.92:1 AA large text Lc -26.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E5CFF7

    oklch(88.5% 0.059 309.8)

  4. Step 300

    300

    #D6ADF4

    oklch(80.8% 0.107 310.4)

  5. Step 400

    400

    #C17EEE

    oklch(70.6% 0.17 310.3)

  6. Step 500

    500

    #B257E9

    oklch(63.1% 0.218 310.3)

  7. Step 600

    600 (this color)

    #9E34D7

    oklch(55.7% 0.237 310.4)

  8. Step 700

    700

    #8723BA

    oklch(49.1% 0.22 310.5)

  9. Step 800

    800

    #6D2196

    oklch(42.6% 0.181 310.3)

  10. Step 900

    900

    #592378

    oklch(37.8% 0.142 310.5)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#9E34D7 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)#0066DB0.196
Deuteranopia (no green cones)#016CD40.200
Tritanopia (no blue cones)#965B840.160
Achromatopsia (no color)#6B6B6B0.238

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E34D7

    #9E34D7

    oklch(55.7% 0.237 310.4)

  • #548400

    #548400

    oklch(55.7% 0.151 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E34D7

    #9E34D7

    oklch(55.7% 0.237 310.4)

  • #6351F8

    #6351F8

    oklch(55.8% 0.237 280.3)

  • #C50D9D

    #C50D9D

    oklch(55.8% 0.237 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #9E34D7

    #9E34D7

    oklch(55.7% 0.237 310.4)

  • #837400

    #837400

    oklch(55.6% 0.116 100.3)

  • #00895A

    #00895A

    oklch(55.6% 0.125 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E34D7

    #9E34D7

    oklch(55.7% 0.237 310.4)

  • #9F6500

    #9F6500

    oklch(55.7% 0.12 70.6)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E34D7

    #9E34D7

    oklch(55.7% 0.237 310.4)

  • #C34400

    #C34400

    oklch(55.8% 0.174 40.5)

  • #548400

    #548400

    oklch(55.7% 0.151 130.4)

  • #00819D

    #00819D

    oklch(55.8% 0.102 220.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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