#8E239C#8E239C

#8E239C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.197 H 322.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8E239C
RGBrgb(142, 35, 156)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 78%, 61%)
CMYKcmyk(9%, 77.6%, 0%, 38.8%)
CIE-LABlab(36.66, 58.86, -42.62)
CIE-LCHlch(36.66, 72.67, 324.09°)
OKLaboklab(47.99% 0.1567 -0.1192)
OKLCHoklch(47.99% 0.197 322.8)
XYZxyz(17.7565, 9.3542, 32.3163)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E239C #319C23
analogous
#52239C #8E239C #9C236D
triadic
#8E239C #9C8E23 #239C8E
tetradic
#8E239C #9C5223 #319C23 #236D9C
square
#8E239C #9C5223 #319C23 #236D9C
split-complementary
#8E239C #6D9C23 #239C52
monochromatic
#330D38 #61186A #8E239C #BC2ECE #CD5EDB

Accessibility & contrast

On white

7.32
#8E239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E239C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E239C#FFFFFF#000000##FFFFFF
##8E239C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#903B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e239c;
/* rgb */ color: rgb(142, 35, 156);
/* oklch */ color: oklch(48.0% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#b36bba',
    500: '#8e239c',
    950: '#000000',
  },
}
SCSS
$custom: #8e239c;
$custom-light: #b36bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e239c",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 293.058,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.19687,
    "h": 322.8
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#8E239C
secondary
#67C05B
accent
#E64155
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E239C

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

Preview Lab → · Contrast checker → · Palette generator →

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