#9042B9

Closest named color: Purply (#983FB2). oklch(53.4% 0.187 311.9), rgb(144, 66, 185).

Aa

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

About this color

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

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

Values

HEX#9042B9
RGBrgb(144, 66, 185)
HSLhsl(279, 47%, 49%)
OKLCHoklch(53.4% 0.187 311.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 #9042B9 5.72:1 AA Lc -83.3 Fine for body text
Black text on #9042B9 3.66:1 AA large text Lc 26.0 Dividers and decoration only
#9042B9 text on white 5.72:1 AA Lc 78.0 Fine for body text
#9042B9 text on black 3.66:1 AA large text Lc -23.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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E4D1F0

    oklch(88.6% 0.047 312.5)

  4. Step 300

    300

    #D3B1E8

    oklch(80.8% 0.084 312.3)

  5. Step 400

    400

    #BC87DD

    oklch(70.7% 0.134 311.6)

  6. Step 500

    500

    #AC65D3

    oklch(63.1% 0.172 312.2)

  7. Step 600

    600 (this color)

    #9042B9

    oklch(53.4% 0.187 311.9)

  8. Step 700

    700

    #8139A6

    oklch(49.1% 0.174 312.1)

  9. Step 800

    800

    #693187

    oklch(42.8% 0.144 311.9)

  10. Step 900

    900

    #552C6C

    oklch(37.7% 0.112 311.8)

  11. Step 950

    950

    #321B3F

    oklch(27.1% 0.07 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#9042B9 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)#0162BD0.172
Deuteranopia (no green cones)#3768B60.150
Tritanopia (no blue cones)#8B59780.126
Achromatopsia (no color)#6666660.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #9042B9

    #9042B9

    oklch(53.4% 0.187 311.9)

  • #4B7D00

    #4B7D00

    oklch(53.3% 0.148 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9042B9

    #9042B9

    oklch(53.4% 0.187 311.9)

  • #6156D4

    #6156D4

    oklch(53.5% 0.187 282)

  • #AF318B

    #AF318B

    oklch(53.4% 0.187 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #9042B9

    #9042B9

    oklch(53.4% 0.187 311.9)

  • #7A6E00

    #7A6E00

    oklch(53.3% 0.112 101.9)

  • #008157

    #008157

    oklch(53.3% 0.117 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9042B9

    #9042B9

    oklch(53.4% 0.187 311.9)

  • #956000

    #956000

    oklch(53.4% 0.114 72)

  • #007D7A

    #007D7A

    oklch(53.3% 0.092 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9042B9

    #9042B9

    oklch(53.4% 0.187 311.9)

  • #B54200

    #B54200

    oklch(53.3% 0.161 41.8)

  • #4B7D00

    #4B7D00

    oklch(53.3% 0.148 131.8)

  • #007995

    #007995

    oklch(53.4% 0.098 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9042B9 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.