#942BA7

Closest named color: Purply (#983FB2). oklch(50.3% 0.2 321), rgb(148, 43, 167).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.200)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.16:1
White text6.63:1

Values

HEX#942BA7
RGBrgb(148, 43, 167)
HSLhsl(291, 59%, 41%)
OKLCHoklch(50.3% 0.2 321)

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 #942BA7 6.63:1 AA Lc -86.8 Fine for body text
Black text on #942BA7 3.16:1 AA large text Lc 22.3 Dividers and decoration only
#942BA7 text on white 6.63:1 AA Lc 81.7 Fine for body text
#942BA7 text on black 3.16:1 AA large text Lc -20.2 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEEF

    oklch(88.5% 0.054 321.1)

  4. Step 300

    300

    #DEACE7

    oklch(80.9% 0.098 321.2)

  5. Step 400

    400

    #CC7DDB

    oklch(70.7% 0.156 321)

  6. Step 500

    500

    #BD57D0

    oklch(63% 0.198 321.1)

  7. Step 600

    600

    #A836BD

    oklch(55.5% 0.215 321)

  8. Step 700

    700 (this color)

    #942BA7

    oklch(50.3% 0.2 321)

  9. Step 800

    800

    #752384

    oklch(42.7% 0.165 321)

  10. Step 900

    900

    #5F236A

    oklch(37.7% 0.13 321.1)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#942BA7 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)#0055AA0.200
Deuteranopia (no green cones)#3960A40.175
Tritanopia (no blue cones)#9543670.121
Achromatopsia (no color)#5C5C5C0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #942BA7

    #942BA7

    oklch(50.3% 0.2 321)

  • #197900

    #197900

    oklch(50.3% 0.165 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942BA7

    #942BA7

    oklch(50.3% 0.2 321)

  • #6A41CA

    #6A41CA

    oklch(50.2% 0.2 291.2)

  • #AF1172

    #AF1172

    oklch(50.2% 0.2 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #942BA7

    #942BA7

    oklch(50.3% 0.2 321)

  • #676900

    #676900

    oklch(50.2% 0.11 111.1)

  • #00765C

    #00765C

    oklch(50.3% 0.099 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942BA7

    #942BA7

    oklch(50.3% 0.2 321)

  • #825C00

    #825C00

    oklch(50.2% 0.104 80.5)

  • #007278

    #007278

    oklch(50.2% 0.085 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942BA7

    #942BA7

    oklch(50.3% 0.2 321)

  • #9C4900

    #9C4900

    oklch(50.3% 0.131 51.2)

  • #197900

    #197900

    oklch(50.3% 0.165 141)

  • #006D93

    #006D93

    oklch(50.2% 0.102 231.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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