#8E2E9B#8E2E9B

#8E2E9B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.184 H 322.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8E2E9B
RGBrgb(142, 46, 155)
HSLhsl(293, 54%, 39%)
HSVhsv(293, 70%, 61%)
CMYKcmyk(8.4%, 70.3%, 0%, 39.2%)
CIE-LABlab(37.97, 54.75, -39.91)
CIE-LCHlch(37.97, 67.75, 323.91°)
OKLaboklab(48.91% 0.1461 -0.1113)
OKLCHoklch(48.91% 0.184 322.7)
XYZxyz(18.0481, 10.0724, 31.9975)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E9B #3B9B2E
analogous
#582E9B #8E2E9B #9B2E72
triadic
#8E2E9B #9B8E2E #2E9B8E
tetradic
#8E2E9B #9B582E #3B9B2E #2E729B
square
#8E2E9B #9B582E #3B9B2E #2E729B
split-complementary
#8E2E9B #729B2E #2E9B58
monochromatic
#38123D #63206C #8E2E9B #B640C6 #C86FD4

Accessibility & contrast

On white

6.97
#8E2E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E2E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2E9B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E9B#FFFFFF#000000##FFFFFF
##8E2E9B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#904161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e9b;
/* rgb */ color: rgb(142, 46, 155);
/* oklch */ color: oklch(48.9% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#b270b9',
    500: '#8e2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e9b;
$custom-light: #b270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e9b",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 292.844,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.18369,
    "h": 322.7
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#8E2E9B
secondary
#73BC69
accent
#DE4A5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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