#942E97

Closest named color: Warm Purple (#952E8F). oklch(49.5% 0.183 326.7), rgb(148, 46, 151).

Aa

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

About this color

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

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

Values

HEX#942E97
RGBrgb(148, 46, 151)
HSLhsl(298, 53%, 39%)
OKLCHoklch(49.5% 0.183 326.7)

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 #942E97 6.78:1 AA Lc -87.5 Fine for body text
Black text on #942E97 3.09:1 AA large text Lc 21.6 Dividers and decoration only
#942E97 text on white 6.78:1 AA Lc 82.4 Fine for body text
#942E97 text on black 3.09:1 AA large text Lc -19.5 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

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #EBCEEB

    oklch(88.4% 0.05 326)

  4. Step 300

    300

    #E0ADDF

    oklch(81% 0.089 327)

  5. Step 400

    400

    #CE7FCF

    oklch(70.7% 0.142 326.5)

  6. Step 500

    500

    #C05BC2

    oklch(63.2% 0.181 326.7)

  7. Step 600

    600

    #AB3CAE

    oklch(55.6% 0.196 326.7)

  8. Step 700

    700 (this color)

    #942E97

    oklch(49.5% 0.183 326.7)

  9. Step 800

    800

    #772779

    oklch(42.7% 0.151 326.8)

  10. Step 900

    900

    #602662

    oklch(37.7% 0.117 326.3)

  11. Step 950

    950

    #391739

    oklch(27% 0.075 327.4)

Export this scale for Tailwind in the Tailwind colors tool

#942E97 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)#1A539A0.192
Deuteranopia (no green cones)#4660940.164
Tritanopia (no blue cones)#983E5F0.104
Achromatopsia (no color)#5B5B5B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #942E97

    #942E97

    oklch(49.5% 0.183 326.7)

  • #007727

    #007727

    oklch(49.6% 0.149 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942E97

    #942E97

    oklch(49.5% 0.183 326.7)

  • #6F41BB

    #6F41BB

    oklch(49.6% 0.183 296.5)

  • #AB1D64

    #AB1D64

    oklch(49.5% 0.184 356.7)

Open the analogous palette in the generator

Split complementary

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

  • #942E97

    #942E97

    oklch(49.5% 0.183 326.7)

  • #5E6900

    #5E6900

    oklch(49.4% 0.114 116.7)

  • #007361

    #007361

    oklch(49.7% 0.092 176.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942E97

    #942E97

    oklch(49.5% 0.183 326.7)

  • #7B5D00

    #7B5D00

    oklch(49.5% 0.101 86.6)

  • #006F7A

    #006F7A

    oklch(49.5% 0.085 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942E97

    #942E97

    oklch(49.5% 0.183 326.7)

  • #944C00

    #944C00

    oklch(49.5% 0.121 56.2)

  • #007727

    #007727

    oklch(49.6% 0.149 146.7)

  • #006A97

    #006A97

    oklch(49.6% 0.108 236.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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