#8E239E#8E239E

#8E239E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 322.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8E239E
RGBrgb(142, 35, 158)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.1%, 77.8%, 0%, 38%)
CIE-LABlab(36.79, 59.22, -43.63)
CIE-LCHlch(36.79, 73.56, 323.62°)
OKLaboklab(48.12% 0.1565 -0.1221)
OKLCHoklch(48.12% 0.199 322)
XYZxyz(17.9273, 9.4225, 33.2156)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E239E #339E23
analogous
#50239E #8E239E #9E2370
triadic
#8E239E #9E8E23 #239E8E
tetradic
#8E239E #9E5023 #339E23 #23709E
square
#8E239E #9E5023 #339E23 #23709E
split-complementary
#8E239E #709E23 #239E50
monochromatic
#340D3A #61186C #8E239E #BB2ED0 #CC60DC

Accessibility & contrast

On white

7.28
#8E239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E239E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E239E#FFFFFF#000000##FFFFFF
##8E239E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#903C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e239e;
/* rgb */ color: rgb(142, 35, 158);
/* oklch */ color: oklch(48.1% 0.199 322.0);
Tailwind
colors: {
  custom: {
    50: '#b36bbb',
    500: '#8e239e',
    950: '#000000',
  },
}
SCSS
$custom: #8e239e;
$custom-light: #b36bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e239e",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 292.195,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.19851,
    "h": 322
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#8E239E
secondary
#69C15C
accent
#E74157
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E239E

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

Preview Lab → · Contrast checker → · Palette generator →

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