#942CAB

Closest named color: Purply (#983FB2). oklch(50.6% 0.203 319.6), rgb(148, 44, 171).

Aa

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

About this color

#942CAB is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.203 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.034 away. White text reads best on it, at 6.54:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.203)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.20:1
White text6.54:1

Values

HEX#942CAB
RGBrgb(148, 44, 171)
HSLhsl(289, 59%, 42%)
OKLCHoklch(50.6% 0.203 319.6)

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 #942CAB 6.54:1 AA Lc -86.5 Fine for body text
Black text on #942CAB 3.20:1 AA large text Lc 22.7 Dividers and decoration only
#942CAB text on white 6.54:1 AA Lc 81.4 Fine for body text
#942CAB text on black 3.20:1 AA large text Lc -20.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF0

    oklch(88.5% 0.055 320.3)

  4. Step 300

    300

    #DDACE9

    oklch(80.9% 0.099 319.6)

  5. Step 400

    400

    #CB7DDD

    oklch(70.7% 0.158 319.9)

  6. Step 500

    500

    #BC57D3

    oklch(63.1% 0.2 319.8)

  7. Step 600

    600

    #A736C0

    oklch(55.5% 0.217 319.7)

  8. Step 700

    700 (this color)

    #942CAB

    oklch(50.6% 0.203 319.6)

  9. Step 800

    800

    #742387

    oklch(42.7% 0.167 319.3)

  10. Step 900

    900

    #5E236C

    oklch(37.7% 0.131 319.4)

  11. Step 950

    950

    #37163F

    oklch(27% 0.082 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#942CAB 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)#0056AF0.198
Deuteranopia (no green cones)#3761A80.176
Tritanopia (no blue cones)#9445690.125
Achromatopsia (no color)#5D5D5D0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #942CAB

    #942CAB

    oklch(50.6% 0.203 319.6)

  • #257900

    #257900

    oklch(50.6% 0.161 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942CAB

    #942CAB

    oklch(50.6% 0.203 319.6)

  • #6843CE

    #6843CE

    oklch(50.6% 0.202 289.4)

  • #B01276

    #B01276

    oklch(50.6% 0.202 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #942CAB

    #942CAB

    oklch(50.6% 0.203 319.6)

  • #6A6A00

    #6A6A00

    oklch(50.8% 0.111 109.8)

  • #00775C

    #00775C

    oklch(50.6% 0.1 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942CAB

    #942CAB

    oklch(50.6% 0.203 319.6)

  • #845D00

    #845D00

    oklch(50.6% 0.105 80.1)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942CAB

    #942CAB

    oklch(50.6% 0.203 319.6)

  • #9F4800

    #9F4800

    oklch(50.6% 0.134 49.7)

  • #257900

    #257900

    oklch(50.6% 0.161 139.6)

  • #006F93

    #006F93

    oklch(50.7% 0.1 229.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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