#942A9C

Closest named color: Warm Purple (#952E8F). oklch(49.5% 0.192 324.9), rgb(148, 42, 156).

Aa

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

About this color

#942A9C is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.192 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.023 away. White text reads best on it, at 6.83:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.07:1
White text6.83:1

Values

HEX#942A9C
RGBrgb(148, 42, 156)
HSLhsl(296, 58%, 39%)
OKLCHoklch(49.5% 0.192 324.9)

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 #942A9C 6.83:1 AA Lc -87.6 Fine for body text
Black text on #942A9C 3.07:1 AA large text Lc 21.5 Dividers and decoration only
#942A9C text on white 6.83:1 AA Lc 82.5 Fine for body text
#942A9C text on black 3.07:1 AA large text Lc -19.4 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

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #E0ACE2

    oklch(80.9% 0.094 325.2)

  5. Step 400

    400

    #CE7ED3

    oklch(70.7% 0.148 324.9)

  6. Step 500

    500

    #C058C7

    oklch(63% 0.19 325.1)

  7. Step 600

    600

    #AB38B4

    oklch(55.6% 0.207 324.8)

  8. Step 700

    700 (this color)

    #942A9C

    oklch(49.5% 0.192 324.9)

  9. Step 800

    800

    #77247E

    oklch(42.7% 0.159 324.6)

  10. Step 900

    900

    #612465

    oklch(37.8% 0.124 325.2)

  11. Step 950

    950

    #39163B

    oklch(27% 0.079 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#942A9C 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)#04529F0.203
Deuteranopia (no green cones)#415F990.171
Tritanopia (no blue cones)#973D610.110
Achromatopsia (no color)#5B5B5B0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #942A9C

    #942A9C

    oklch(49.5% 0.192 324.9)

  • #00771C

    #00771C

    oklch(49.5% 0.156 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942A9C

    #942A9C

    oklch(49.5% 0.192 324.9)

  • #6D3FC1

    #6D3FC1

    oklch(49.5% 0.192 294.6)

  • #AD1467

    #AD1467

    oklch(49.5% 0.192 355.2)

Open the analogous palette in the generator

Split complementary

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

  • #942A9C

    #942A9C

    oklch(49.5% 0.192 324.9)

  • #606800

    #606800

    oklch(49.3% 0.112 114.9)

  • #00735F

    #00735F

    oklch(49.6% 0.094 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942A9C

    #942A9C

    oklch(49.5% 0.192 324.9)

  • #7C5C00

    #7C5C00

    oklch(49.4% 0.101 84.9)

  • #006F78

    #006F78

    oklch(49.4% 0.084 204.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942A9C

    #942A9C

    oklch(49.5% 0.192 324.9)

  • #954B00

    #954B00

    oklch(49.5% 0.123 55.1)

  • #00771C

    #00771C

    oklch(49.5% 0.156 144.9)

  • #006A94

    #006A94

    oklch(49.5% 0.104 234.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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