#8E239D#8E239D

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

Color values

HEX#8E239D
RGBrgb(142, 35, 157)
HSLhsl(293, 64%, 38%)
HSVhsv(293, 78%, 62%)
CMYKcmyk(9.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(36.72, 59.04, -43.12)
CIE-LCHlch(36.72, 73.11, 323.86°)
OKLaboklab(48.06% 0.1566 -0.1206)
OKLCHoklch(48.06% 0.198 322.4)
XYZxyz(17.8415, 9.3882, 32.7641)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E239D #329D23
analogous
#51239D #8E239D #9D236F
triadic
#8E239D #9D8E23 #239D8E
tetradic
#8E239D #9D5123 #329D23 #236F9D
square
#8E239D #9D5123 #329D23 #236F9D
split-complementary
#8E239D #6F9D23 #239D51
monochromatic
#330D39 #61186B #8E239D #BB2ECF #CC5FDB

Accessibility & contrast

On white

7.30
#8E239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E239D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E239D#FFFFFF#000000##FFFFFF
##8E239D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#903B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e239d;
/* rgb */ color: rgb(142, 35, 157);
/* oklch */ color: oklch(48.1% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#b36bba',
    500: '#8e239d',
    950: '#000000',
  },
}
SCSS
$custom: #8e239d;
$custom-light: #b36bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e239d",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 292.623,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.19769,
    "h": 322.4
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#8E239D
secondary
#68C05C
accent
#E74156
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E239D

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

Preview Lab → · Contrast checker → · Palette generator →

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