#8151E4

Closest named color: Purpley (#8756E4). oklch(56.7% 0.211 293.5), rgb(129, 81, 228).

Aa

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

About this color

#8151E4 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.211 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.015 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.211)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.23:1
White text4.96:1

Values

HEX#8151E4
RGBrgb(129, 81, 228)
HSLhsl(260, 73%, 61%)
OKLCHoklch(56.7% 0.211 293.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 #8151E4 4.96:1 AA Lc -79.2 Fine for body text
Black text on #8151E4 4.23:1 AA large text Lc 30.3 Non-text elements, placeholder text
#8151E4 text on white 4.96:1 AA Lc 73.8 Content text, not long reading
#8151E4 text on black 4.23:1 AA large text Lc -27.9 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C3B5F9

    oklch(80.9% 0.096 293.6)

  5. Step 400

    400

    #A68CF6

    oklch(70.8% 0.152 293.4)

  6. Step 500

    500

    #926BF2

    oklch(63.2% 0.194 293.4)

  7. Step 600

    600 (this color)

    #8151E4

    oklch(56.7% 0.211 293.5)

  8. Step 700

    700

    #6B3DC3

    oklch(49.2% 0.197 293.6)

  9. Step 800

    800

    #57339D

    oklch(42.6% 0.163 294)

  10. Step 900

    900

    #472F7D

    oklch(37.8% 0.126 293.6)

  11. Step 950

    950

    #291C49

    oklch(26.9% 0.08 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#8151E4 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)#0072E90.130
Deuteranopia (no green cones)#006DE10.130
Tritanopia (no blue cones)#6574930.168
Achromatopsia (no color)#7070700.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #8151E4

    #8151E4

    oklch(56.7% 0.211 293.5)

  • #777E00

    #777E00

    oklch(56.8% 0.127 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8151E4

    #8151E4

    oklch(56.7% 0.211 293.5)

  • #306AF0

    #306AF0

    oklch(56.7% 0.211 263.5)

  • #AE3ABB

    #AE3ABB

    oklch(56.6% 0.211 323.5)

Open the analogous palette in the generator

Split complementary

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

  • #8151E4

    #8151E4

    oklch(56.7% 0.211 293.5)

  • #976F00

    #976F00

    oklch(56.7% 0.116 83.5)

  • #009016

    #009016

    oklch(56.7% 0.186 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8151E4

    #8151E4

    oklch(56.7% 0.211 293.5)

  • #B55A00

    #B55A00

    oklch(56.8% 0.143 53.6)

  • #008B71

    #008B71

    oklch(56.8% 0.109 173.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8151E4

    #8151E4

    oklch(56.7% 0.211 293.5)

  • #D72333

    #D72333

    oklch(56.8% 0.211 23.7)

  • #777E00

    #777E00

    oklch(56.8% 0.127 113.6)

  • #008790

    #008790

    oklch(56.8% 0.097 203.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8151E4.

Similar named colors

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

Use #8151E4 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.