#8E1BBB#8E1BBB

#8E1BBB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.7% C 0.229 H 313.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1BBB
RGBrgb(142, 27, 187)
HSLhsl(283, 75%, 42%)
HSVhsv(283, 86%, 73%)
CMYKcmyk(24.1%, 85.6%, 0%, 26.7%)
CIE-LABlab(38.06, 66.90, -58.87)
CIE-LCHlch(38.06, 89.12, 318.65°)
OKLaboklab(49.66% 0.157 -0.1668)
OKLCHoklch(49.66% 0.229 313.3)
XYZxyz(20.5153, 10.1232, 47.8774)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1BBB #48BB1B
analogous
#3E1BBB #8E1BBB #BB1B98
triadic
#8E1BBB #BB8E1B #1BBB8E
tetradic
#8E1BBB #BB3E1B #48BB1B #1B98BB
square
#8E1BBB #BB3E1B #48BB1B #1B98BB
split-complementary
#8E1BBB #98BB1B #1BBB3E
monochromatic
#3D0C50 #651386 #8E1BBB #B032E1 #C567E9

Accessibility & contrast

On white

6.94
#8E1BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E1BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E1BBB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1BBB#FFFFFF#000000##FFFFFF
##8E1BBB1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#89476F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e1bbb;
/* rgb */ color: rgb(142, 27, 187);
/* oklch */ color: oklch(49.7% 0.229 313.3);
Tailwind
colors: {
  custom: {
    50: '#b46ad0',
    500: '#8e1bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8e1bbb;
$custom-light: #b46ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1bbb",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 283.125,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.22909,
    "h": 313.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8E1BBB
secondary
#82CE63
accent
#F1366B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8E1BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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