#8E2BA9#8E2BA9

#8E2BA9 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 317.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8E2BA9
RGBrgb(142, 43, 169)
HSLhsl(287, 59%, 42%)
HSVhsv(287, 75%, 66%)
CMYKcmyk(16%, 74.6%, 0%, 33.7%)
CIE-LABlab(38.45, 58.56, -47.56)
CIE-LCHlch(38.45, 75.44, 320.92°)
OKLaboklab(49.53% 0.1482 -0.1337)
OKLCHoklch(49.53% 0.2 317.9)
XYZxyz(19.1796, 10.3440, 38.5147)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BA9 #46A92B
analogous
#4F2BA9 #8E2BA9 #A92B85
triadic
#8E2BA9 #A98E2B #2BA98E
tetradic
#8E2BA9 #A94F2B #46A92B #2B85A9
square
#8E2BA9 #A94F2B #46A92B #2B85A9
split-complementary
#8E2BA9 #85A92B #2BA94F
monochromatic
#3C1247 #651F78 #8E2BA9 #B142CF #C573DB

Accessibility & contrast

On white

6.84
#8E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BA9
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BA9#FFFFFF#000000##FFFFFF
##8E2BA91.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#305EA6
Tritanopia (blue-blind)
#8D4568
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2ba9;
/* rgb */ color: rgb(142, 43, 169);
/* oklch */ color: oklch(49.5% 0.200 317.9);
Tailwind
colors: {
  custom: {
    50: '#b36fc3',
    500: '#8e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ba9;
$custom-light: #b36fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ba9",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 287.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.19956,
    "h": 317.9
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#8E2BA9
secondary
#7FC36D
accent
#E34567
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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