#8E2BA3#8E2BA3

#8E2BA3 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.194 H 320.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8E2BA3
RGBrgb(142, 43, 163)
HSLhsl(290, 58%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.9%, 73.6%, 0%, 36.1%)
CIE-LABlab(38.06, 57.41, -44.59)
CIE-LCHlch(38.06, 72.69, 322.16°)
OKLaboklab(49.13% 0.1487 -0.125)
OKLCHoklch(49.13% 0.194 320)
XYZxyz(18.6292, 10.1238, 35.6161)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BA3 #40A32B
analogous
#522BA3 #8E2BA3 #A32B7C
triadic
#8E2BA3 #A38E2B #2BA38E
tetradic
#8E2BA3 #A3522B #40A32B #2B7CA3
square
#8E2BA3 #A3522B #40A32B #2B7CA3
split-complementary
#8E2BA3 #7CA32B #2BA352
monochromatic
#3A1142 #641E73 #8E2BA3 #B43FCC #C76FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2BA3#FFFFFF#000000##FFFFFF
##8E2BA31.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)
#0053A6
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#8E4365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2ba3;
/* rgb */ color: rgb(142, 43, 163);
/* oklch */ color: oklch(49.1% 0.194 320.0);
Tailwind
colors: {
  custom: {
    50: '#b36ebf',
    500: '#8e2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ba3;
$custom-light: #b36ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ba3",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 289.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.19427,
    "h": 320
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8E2BA3
secondary
#79C06A
accent
#E14661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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