#8E239B#8E239B

#8E239B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.196 H 323.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8E239B
RGBrgb(142, 35, 155)
HSLhsl(294, 63%, 37%)
HSVhsv(294, 77%, 61%)
CMYKcmyk(8.4%, 77.4%, 0%, 39.2%)
CIE-LABlab(36.59, 58.68, -42.12)
CIE-LCHlch(36.59, 72.23, 324.33°)
OKLaboklab(47.93% 0.1568 -0.1177)
OKLCHoklch(47.93% 0.196 323.1)
XYZxyz(17.6722, 9.3205, 31.8722)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E239B #309B23
analogous
#52239B #8E239B #9B236C
triadic
#8E239B #9B8E23 #239B8E
tetradic
#8E239B #9B5223 #309B23 #236C9B
square
#8E239B #9B5223 #309B23 #236C9B
split-complementary
#8E239B #6C9B23 #239B52
monochromatic
#330C37 #601869 #8E239B #BC2ECD #CD5EDB

Accessibility & contrast

On white

7.33
#8E239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E239B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E239B#FFFFFF#000000##FFFFFF
##8E239B1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#903A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e239b;
/* rgb */ color: rgb(142, 35, 155);
/* oklch */ color: oklch(47.9% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#b36bb9',
    500: '#8e239b',
    950: '#000000',
  },
}
SCSS
$custom: #8e239b;
$custom-light: #b36bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e239b",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 293.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.19604,
    "h": 323.1
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#8E239B
secondary
#65BF5A
accent
#E64253
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E239B

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

Preview Lab → · Contrast checker → · Palette generator →

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