#8E1BBC#8E1BBC

#8E1BBC is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.230 H 313.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1BBC
RGBrgb(142, 27, 188)
HSLhsl(283, 75%, 42%)
HSVhsv(283, 86%, 74%)
CMYKcmyk(24.5%, 85.6%, 0%, 26.3%)
CIE-LABlab(38.14, 67.09, -59.34)
CIE-LCHlch(38.14, 89.57, 318.51°)
OKLaboklab(49.74% 0.1568 -0.1682)
OKLCHoklch(49.74% 0.23 313)
XYZxyz(20.6227, 10.1662, 48.4431)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1BBC #49BC1B
analogous
#3D1BBC #8E1BBC #BC1B9A
triadic
#8E1BBC #BC8E1B #1BBC8E
tetradic
#8E1BBC #BC3D1B #49BC1B #1B9ABC
square
#8E1BBC #BC3D1B #49BC1B #1B9ABC
split-complementary
#8E1BBC #9ABC1B #1BBC3D
monochromatic
#3D0C51 #661386 #8E1BBC #B033E2 #C468E9

Accessibility & contrast

On white

6.92
#8E1BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E1BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E1BBC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1BBC#FFFFFF#000000##FFFFFF
##8E1BBC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#894770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e1bbc;
/* rgb */ color: rgb(142, 27, 188);
/* oklch */ color: oklch(49.7% 0.230 313.0);
Tailwind
colors: {
  custom: {
    50: '#b46ad1',
    500: '#8e1bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8e1bbc;
$custom-light: #b46ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1bbc",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 188
  },
  "hsl": {
    "h": 282.857,
    "s": 74.884,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.22991,
    "h": 313
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#8E1BBC
secondary
#83CF64
accent
#F2366C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83

Preview Lab

Preview with #8E1BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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