#8E1DBB#8E1DBB

#8E1DBB is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.8% C 0.228 H 313.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8E1DBB
RGBrgb(142, 29, 187)
HSLhsl(283, 73%, 42%)
HSVhsv(283, 84%, 73%)
CMYKcmyk(24.1%, 84.5%, 0%, 26.7%)
CIE-LABlab(38.23, 66.40, -58.60)
CIE-LCHlch(38.23, 88.56, 318.57°)
OKLaboklab(49.78% 0.1558 -0.166)
OKLCHoklch(49.78% 0.228 313.2)
XYZxyz(20.5627, 10.2180, 47.8932)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1DBB #4ABB1D
analogous
#3F1DBB #8E1DBB #BB1D99
triadic
#8E1DBB #BB8E1D #1DBB8E
tetradic
#8E1DBB #BB3F1D #4ABB1D #1D99BB
square
#8E1DBB #BB3F1D #4ABB1D #1D99BB
split-complementary
#8E1DBB #99BB1D #1DBB3F
monochromatic
#3E0D51 #661586 #8E1DBB #AF35E0 #C46AE8

Accessibility & contrast

On white

6.90
#8E1DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E1DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E1DBB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1DBB#FFFFFF#000000##FFFFFF
##8E1DBB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#894770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e1dbb;
/* rgb */ color: rgb(142, 29, 187);
/* oklch */ color: oklch(49.8% 0.228 313.2);
Tailwind
colors: {
  custom: {
    50: '#b46ad0',
    500: '#8e1dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8e1dbb;
$custom-light: #b46ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1dbb",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 282.911,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.22769,
    "h": 313.2
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#8E1DBB
secondary
#84CE66
accent
#F0386C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8E1DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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