#942E71

Closest named color: Red Violet (#9E0168). oklch(47.6% 0.154 344.2), rgb(148, 46, 113).

Aa

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

About this color

#942E71 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.154 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.043 away. White text reads best on it, at 7.27:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.88:1
White text7.27:1

Values

HEX#942E71
RGBrgb(148, 46, 113)
HSLhsl(321, 53%, 38%)
OKLCHoklch(47.6% 0.154 344.2)

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 #942E71 7.27:1 AAA Lc -89.3 Fine for body text
Black text on #942E71 2.88:1 Fails Lc 19.7 Dividers and decoration only
#942E71 text on white 7.27:1 AAA Lc 84.4 Fine for body text
#942E71 text on black 2.88:1 Fails Lc -17.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 700.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E4AECC

    oklch(80.9% 0.074 344.4)

  5. Step 400

    400

    #D581B3

    oklch(70.7% 0.12 344.1)

  6. Step 500

    500

    #C75FA0

    oklch(63.1% 0.152 344)

  7. Step 600

    600

    #B2428A

    oklch(55.5% 0.166 344.3)

  8. Step 700

    700 (this color)

    #942E71

    oklch(47.6% 0.154 344.2)

  9. Step 800

    800

    #7C2B60

    oklch(42.6% 0.128 343.8)

  10. Step 900

    900

    #65284E

    oklch(37.7% 0.1 344.7)

  11. Step 950

    950

    #3B182E

    oklch(26.9% 0.064 343.7)

Export this scale for Tailwind in the Tailwind colors tool

#942E71 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)#384C730.170
Deuteranopia (no green cones)#575D6F0.149
Tritanopia (no blue cones)#9E2D4B0.066
Achromatopsia (no color)#5757570.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #942E71

    #942E71

    oklch(47.6% 0.154 344.2)

  • #006E4D

    #006E4D

    oklch(47.7% 0.101 164.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942E71

    #942E71

    oklch(47.6% 0.154 344.2)

  • #7B3A97

    #7B3A97

    oklch(47.5% 0.155 314.4)

  • #A02941

    #A02941

    oklch(47.5% 0.154 14)

Open the analogous palette in the generator

Split complementary

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

  • #942E71

    #942E71

    oklch(47.6% 0.154 344.2)

  • #386C00

    #386C00

    oklch(47.6% 0.137 134.4)

  • #006A6A

    #006A6A

    oklch(47.5% 0.081 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942E71

    #942E71

    oklch(47.6% 0.154 344.2)

  • #665F00

    #665F00

    oklch(47.7% 0.101 104.6)

  • #006682

    #006682

    oklch(47.5% 0.09 225)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942E71

    #942E71

    oklch(47.6% 0.154 344.2)

  • #7D5200

    #7D5200

    oklch(47.5% 0.1 74.2)

  • #006E4D

    #006E4D

    oklch(47.7% 0.101 164.1)

  • #005BAF

    #005BAF

    oklch(47.6% 0.153 254.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #942E71 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.