#942D9C

Closest named color: Warm Purple (#952E8F). oklch(49.7% 0.189 324.8), rgb(148, 45, 156).

Aa

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

About this color

#942D9C is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.189 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.022 away. White text reads best on it, at 6.74:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.189)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.11:1
White text6.74:1

Values

HEX#942D9C
RGBrgb(148, 45, 156)
HSLhsl(296, 55%, 39%)
OKLCHoklch(49.7% 0.189 324.8)

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 #942D9C 6.74:1 AA Lc -87.3 Fine for body text
Black text on #942D9C 3.11:1 AA large text Lc 21.8 Dividers and decoration only
#942D9C text on white 6.74:1 AA Lc 82.2 Fine for body text
#942D9C text on black 3.11:1 AA large text Lc -19.7 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #DFADE1

    oklch(81% 0.09 325.1)

  5. Step 400

    400

    #CD7ED2

    oklch(70.6% 0.146 324.9)

  6. Step 500

    500

    #BF5AC7

    oklch(63.2% 0.186 324.6)

  7. Step 600

    600

    #AA3AB3

    oklch(55.6% 0.203 324.7)

  8. Step 700

    700 (this color)

    #942D9C

    oklch(49.7% 0.189 324.8)

  9. Step 800

    800

    #77267D

    oklch(42.8% 0.156 324.9)

  10. Step 900

    900

    #602564

    oklch(37.7% 0.121 325.1)

  11. Step 950

    950

    #38173B

    oklch(27% 0.076 324.2)

Export this scale for Tailwind in the Tailwind colors tool

#942D9C 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)#0F539F0.197
Deuteranopia (no green cones)#4360990.167
Tritanopia (no blue cones)#973F610.110
Achromatopsia (no color)#5B5B5B0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #942D9C

    #942D9C

    oklch(49.7% 0.189 324.8)

  • #00781C

    #00781C

    oklch(49.8% 0.157 144.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942D9C

    #942D9C

    oklch(49.7% 0.189 324.8)

  • #6E41C0

    #6E41C0

    oklch(49.8% 0.188 294.9)

  • #AC1A68

    #AC1A68

    oklch(49.7% 0.188 354.8)

Open the analogous palette in the generator

Split complementary

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

  • #942D9C

    #942D9C

    oklch(49.7% 0.189 324.8)

  • #616900

    #616900

    oklch(49.7% 0.112 114.9)

  • #00745F

    #00745F

    oklch(49.9% 0.095 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942D9C

    #942D9C

    oklch(49.7% 0.189 324.8)

  • #7D5D00

    #7D5D00

    oklch(49.8% 0.102 85.1)

  • #007079

    #007079

    oklch(49.7% 0.085 204.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942D9C

    #942D9C

    oklch(49.7% 0.189 324.8)

  • #964B00

    #964B00

    oklch(49.7% 0.123 54.7)

  • #00781C

    #00781C

    oklch(49.8% 0.157 144.8)

  • #006B95

    #006B95

    oklch(49.8% 0.105 234.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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