#8160EB

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.5% 0.2 289.8), rgb(129, 96, 235).

Aa

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

About this color

#8160EB is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.200 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.019 away. Black text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.200)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.80:1
White text4.36:1

Values

HEX#8160EB
RGBrgb(129, 96, 235)
HSLhsl(254, 78%, 65%)
OKLCHoklch(59.5% 0.2 289.8)

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 #8160EB 4.36:1 AA large text Lc -75.4 Fine for body text
Black text on #8160EB 4.80:1 AA Lc 34.2 Non-text elements, placeholder text
#8160EB text on white 4.36:1 AA large text Lc 69.9 Content text, not long reading
#8160EB text on black 4.80:1 AA Lc -31.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300

    #BFB6FC

    oklch(80.9% 0.098 289.9)

  5. Step 400

    400

    #A08DFB

    oklch(70.7% 0.157 289.7)

  6. Step 500

    500 (this color)

    #8160EB

    oklch(59.5% 0.2 289.8)

  7. Step 600

    600

    #774EE7

    oklch(55.6% 0.218 289.7)

  8. Step 700

    700

    #653DC8

    oklch(49% 0.202 290.1)

  9. Step 800

    800

    #5234A2

    oklch(42.7% 0.168 289.9)

  10. Step 900

    900

    #432F81

    oklch(37.7% 0.132 289.8)

  11. Step 950

    950

    #271D4B

    oklch(27% 0.082 289.8)

Export this scale for Tailwind in the Tailwind colors tool

#8160EB 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)#007BF00.118
Deuteranopia (no green cones)#0076E80.118
Tritanopia (no blue cones)#60809C0.165
Achromatopsia (no color)#7979790.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #8160EB

    #8160EB

    oklch(59.5% 0.2 289.8)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8160EB

    #8160EB

    oklch(59.5% 0.2 289.8)

  • #2B77F3

    #2B77F3

    oklch(59.4% 0.201 260)

  • #B04BC7

    #B04BC7

    oklch(59.4% 0.201 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #8160EB

    #8160EB

    oklch(59.5% 0.2 289.8)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #2E9800

    #2E9800

    oklch(59.6% 0.191 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8160EB

    #8160EB

    oklch(59.5% 0.2 289.8)

  • #C65C00

    #C65C00

    oklch(59.6% 0.158 50)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8160EB

    #8160EB

    oklch(59.5% 0.2 289.8)

  • #DC374A

    #DC374A

    oklch(59.4% 0.2 19.9)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

  • #009096

    #009096

    oklch(59.4% 0.101 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8160EB 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.