#8E3BB7#8E3BB7

#8E3BB7 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.193 H 312.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8E3BB7
RGBrgb(142, 59, 183)
HSLhsl(280, 51%, 47%)
HSVhsv(280, 68%, 72%)
CMYKcmyk(22.4%, 67.8%, 0%, 28.2%)
CIE-LABlab(41.69, 54.89, -50.66)
CIE-LCHlch(41.69, 74.69, 317.30°)
OKLaboklab(52.13% 0.1303 -0.1429)
OKLCHoklch(52.13% 0.193 312.4)
XYZxyz(21.2650, 12.2982, 46.0442)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BB7 #64B73B
analogous
#503BB7 #8E3BB7 #B73BA2
triadic
#8E3BB7 #B78E3B #3BB78E
tetradic
#8E3BB7 #B7503B #64B73B #3BA2B7
square
#8E3BB7 #B7503B #64B73B #3BA2B7
split-complementary
#8E3BB7 #A2B73B #3BB750
monochromatic
#461D5A #6A2C89 #8E3BB7 #AA63CD #C391DC

Accessibility & contrast

On white

6.07
#8E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8E3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BB7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BB7#FFFFFF#000000##FFFFFF
##8E3BB71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#895474
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e3bb7;
/* rgb */ color: rgb(142, 59, 183);
/* oklch */ color: oklch(52.1% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#b377cd',
    500: '#8e3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bb7;
$custom-light: #b377cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bb7",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 280.161,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.19333,
    "h": 312.4
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#8E3BB7
secondary
#9CC687
accent
#DB4D7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8E3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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