#8942BA

Closest named color: Purply (#983FB2). oklch(52.6% 0.185 308.5), rgb(137, 66, 186).

Aa

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

About this color

#8942BA is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.185 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.032 away. White text reads best on it, at 5.91:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.185)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.55:1
White text5.91:1

Values

HEX#8942BA
RGBrgb(137, 66, 186)
HSLhsl(276, 48%, 49%)
OKLCHoklch(52.6% 0.185 308.5)

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 #8942BA 5.91:1 AA Lc -84.2 Fine for body text
Black text on #8942BA 3.55:1 AA large text Lc 25.1 Dividers and decoration only
#8942BA text on white 5.91:1 AA Lc 79.0 Fine for body text
#8942BA text on black 3.55:1 AA large text Lc -22.8 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 600.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2EA

    oklch(80.8% 0.084 308.9)

  5. Step 400

    400

    #B888E0

    oklch(70.6% 0.134 308.4)

  6. Step 500

    500

    #A768D7

    oklch(63.2% 0.17 308.5)

  7. Step 600

    600 (this color)

    #8942BA

    oklch(52.6% 0.185 308.5)

  8. Step 700

    700

    #7D3CA9

    oklch(49.2% 0.172 308.8)

  9. Step 800

    800

    #653289

    oklch(42.6% 0.143 308.5)

  10. Step 900

    900

    #522D6E

    oklch(37.6% 0.112 308.2)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#8942BA 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)#0061BE0.161
Deuteranopia (no green cones)#2E65B70.145
Tritanopia (no blue cones)#825B780.131
Achromatopsia (no color)#6464640.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #8942BA

    #8942BA

    oklch(52.6% 0.185 308.5)

  • #527900

    #527900

    oklch(52.7% 0.139 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8942BA

    #8942BA

    oklch(52.6% 0.185 308.5)

  • #5856D2

    #5856D2

    oklch(52.6% 0.186 278.6)

  • #A9318E

    #A9318E

    oklch(52.6% 0.185 338.3)

Open the analogous palette in the generator

Split complementary

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

  • #8942BA

    #8942BA

    oklch(52.6% 0.185 308.5)

  • #7B6A00

    #7B6A00

    oklch(52.5% 0.108 98.1)

  • #007F4F

    #007F4F

    oklch(52.6% 0.122 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8942BA

    #8942BA

    oklch(52.6% 0.185 308.5)

  • #955C00

    #955C00

    oklch(52.6% 0.115 68.6)

  • #007B75

    #007B75

    oklch(52.6% 0.091 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8942BA

    #8942BA

    oklch(52.6% 0.185 308.5)

  • #B73A00

    #B73A00

    oklch(52.6% 0.17 38.6)

  • #527900

    #527900

    oklch(52.7% 0.139 128.6)

  • #00778F

    #00778F

    oklch(52.6% 0.095 218.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8942BA 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.