#8E2DB1#8E2DB1

#8E2DB1 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 315.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8E2DB1
RGBrgb(142, 45, 177)
HSLhsl(284, 59%, 44%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(19.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(39.25, 59.41, -51.05)
CIE-LCHlch(39.25, 78.32, 319.33°)
OKLaboklab(50.27% 0.1453 -0.1439)
OKLCHoklch(50.27% 0.205 315.3)
XYZxyz(20.0282, 10.8026, 42.6166)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DB1 #50B12D
analogous
#4C2DB1 #8E2DB1 #B12D92
triadic
#8E2DB1 #B18E2D #2DB18E
tetradic
#8E2DB1 #B14C2D #50B12D #2D92B1
square
#8E2DB1 #B14C2D #50B12D #2D92B1
split-complementary
#8E2DB1 #92B12D #2DB14C
monochromatic
#40144F #672180 #8E2DB1 #AD4AD1 #C37BDD

Accessibility & contrast

On white

6.64
#8E2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8E2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DB1
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DB1#FFFFFF#000000##FFFFFF
##8E2DB11.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#295FAE
Tritanopia (blue-blind)
#8B4A6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2db1;
/* rgb */ color: rgb(142, 45, 177);
/* oklch */ color: oklch(50.3% 0.205 315.3);
Tailwind
colors: {
  custom: {
    50: '#b370c9',
    500: '#8e2db1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2db1;
$custom-light: #b370c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2db1",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 284.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.20451,
    "h": 315.3
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#8E2DB1
secondary
#8AC674
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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