#9159EC

Closest named color: Purpley (#8756E4). oklch(60% 0.212 297.1), rgb(145, 89, 236).

Aa

Black text reads best on this color (4.84:1).

About this color

#9159EC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.212 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.022 away. Black text reads best on it, at 4.84:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.84:1
White text4.33:1

Values

HEX#9159EC
RGBrgb(145, 89, 236)
HSLhsl(263, 79%, 64%)
OKLCHoklch(60% 0.212 297.1)

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 #9159EC 4.33:1 AA large text Lc -75.0 Content text, not long reading
Black text on #9159EC 4.84:1 AA Lc 34.6 Non-text elements, placeholder text
#9159EC text on white 4.33:1 AA large text Lc 69.5 Content text, not long reading
#9159EC text on black 4.84:1 AA Lc -32.2 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DDD2FB

    oklch(88.6% 0.057 297.5)

  4. Step 300

    300

    #C7B3FC

    oklch(80.9% 0.103 296.6)

  5. Step 400

    400

    #AD87FA

    oklch(70.7% 0.166 297.2)

  6. Step 500

    500 (this color)

    #9159EC

    oklch(60% 0.212 297.1)

  7. Step 600

    600

    #8643E6

    oklch(55.6% 0.231 297)

  8. Step 700

    700

    #7233C8

    oklch(49.2% 0.214 296.9)

  9. Step 800

    800

    #5D2CA1

    oklch(42.7% 0.177 297.4)

  10. Step 900

    900

    #4B2A80

    oklch(37.6% 0.138 296.9)

  11. Step 950

    950

    #2C1A4B

    oklch(27% 0.087 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#9159EC 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)#007AF10.146
Deuteranopia (no green cones)#0078E90.147
Tritanopia (no blue cones)#7B7A9A0.164
Achromatopsia (no color)#7979790.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #9159EC

    #9159EC

    oklch(60% 0.212 297.1)

  • #7B8A00

    #7B8A00

    oklch(60% 0.139 117.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9159EC

    #9159EC

    oklch(60% 0.212 297.1)

  • #4872FC

    #4872FC

    oklch(60.1% 0.211 267)

  • #BE43C0

    #BE43C0

    oklch(60% 0.212 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #9159EC

    #9159EC

    oklch(60% 0.212 297.1)

  • #A07A00

    #A07A00

    oklch(60% 0.123 86.7)

  • #009B38

    #009B38

    oklch(60.1% 0.178 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9159EC

    #9159EC

    oklch(60% 0.212 297.1)

  • #BF6500

    #BF6500

    oklch(60% 0.145 56.9)

  • #00957F

    #00957F

    oklch(59.9% 0.111 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9159EC

    #9159EC

    oklch(60% 0.212 297.1)

  • #E33431

    #E33431

    oklch(60% 0.211 27.1)

  • #7B8A00

    #7B8A00

    oklch(60% 0.139 117.1)

  • #00919F

    #00919F

    oklch(60% 0.103 206.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9159EC.

Similar named colors

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

Use #9159EC 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.