#8E15B4#8E15B4

#8E15B4 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.8% C 0.227 H 315.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8E15B4
RGBrgb(142, 21, 180)
HSLhsl(286, 79%, 39%)
HSVhsv(286, 88%, 71%)
CMYKcmyk(21.1%, 88.3%, 0%, 29.4%)
CIE-LABlab(37.08, 66.89, -56.32)
CIE-LCHlch(37.08, 87.45, 319.90°)
OKLaboklab(48.82% 0.1621 -0.1593)
OKLCHoklch(48.82% 0.227 315.5)
XYZxyz(19.6604, 9.5832, 43.9853)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E15B4 #3BB415
analogous
#3E15B4 #8E15B4 #B4158B
triadic
#8E15B4 #B48E15 #15B48E
tetradic
#8E15B4 #B43E15 #3BB415 #158BB4
square
#8E15B4 #B43E15 #3BB415 #158BB4
split-complementary
#8E15B4 #8BB415 #15B43E
monochromatic
#380846 #630F7D #8E15B4 #B621E5 #C858EC

Accessibility & contrast

On white

7.20
#8E15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E15B4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E15B4#FFFFFF#000000##FFFFFF
##8E15B41.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#065AB1
Tritanopia (blue-blind)
#8B416A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e15b4;
/* rgb */ color: rgb(142, 21, 180);
/* oklch */ color: oklch(48.8% 0.227 315.5);
Tailwind
colors: {
  custom: {
    50: '#b468cb',
    500: '#8e15b4',
    950: '#000000',
  },
}
SCSS
$custom: #8e15b4;
$custom-light: #b468cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e15b4",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 285.66,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.22721,
    "h": 315.5
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#8E15B4
secondary
#73CF56
accent
#F63261
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8E15B4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E15B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva