#8157FA

Closest named color: Purpley (#8756E4). oklch(59.2% 0.23 289.3), rgb(129, 87, 250).

Aa

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

About this color

#8157FA is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.230 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.035 away. Black text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.230)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.67:1
White text4.48:1

Values

HEX#8157FA
RGBrgb(129, 87, 250)
HSLhsl(255, 94%, 66%)
OKLCHoklch(59.2% 0.23 289.3)

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 #8157FA 4.48:1 AA large text Lc -76.0 Fine for body text
Black text on #8157FA 4.67:1 AA Lc 33.5 Non-text elements, placeholder text
#8157FA text on white 4.48:1 AA large text Lc 70.6 Content text, not long reading
#8157FA text on black 4.67:1 AA Lc -31.1 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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300

    #BEB6FF

    oklch(80.9% 0.102 288.9)

  5. Step 400

    400

    #9F8CFF

    oklch(70.7% 0.164 289.1)

  6. Step 500

    500

    #8B69FE

    oklch(63.1% 0.212 289.4)

  7. Step 600

    600 (this color)

    #8157FA

    oklch(59.2% 0.23 289.3)

  8. Step 700

    700

    #653ACE

    oklch(49.2% 0.213 289.5)

  9. Step 800

    800

    #5231A7

    oklch(42.7% 0.178 289.5)

  10. Step 900

    900

    #432E84

    oklch(37.7% 0.137 289.4)

  11. Step 950

    950

    #271C4D

    oklch(27% 0.087 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#8157FA 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)#007AFF0.124
Deuteranopia (no green cones)#0073F70.121
Tritanopia (no blue cones)#587FA10.187
Achromatopsia (no color)#7777770.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #8157FA

    #8157FA

    oklch(59.2% 0.23 289.3)

  • #848300

    #848300

    oklch(59.1% 0.128 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8157FA

    #8157FA

    oklch(59.2% 0.23 289.3)

  • #1174FF

    #1174FF

    oklch(59.2% 0.223 259.3)

  • #B53DD1

    #B53DD1

    oklch(59.2% 0.23 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #8157FA

    #8157FA

    oklch(59.2% 0.23 289.3)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

  • #339600

    #339600

    oklch(59.2% 0.187 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8157FA

    #8157FA

    oklch(59.2% 0.23 289.3)

  • #C55A00

    #C55A00

    oklch(59.1% 0.158 49.2)

  • #009472

    #009472

    oklch(59.3% 0.118 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8157FA

    #8157FA

    oklch(59.2% 0.23 289.3)

  • #E71642

    #E71642

    oklch(59.3% 0.23 19.4)

  • #848300

    #848300

    oklch(59.1% 0.128 109.2)

  • #009095

    #009095

    oklch(59.3% 0.101 199.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8157FA 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.