#8E239F#8E239F

#8E239F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 321.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8E239F
RGBrgb(142, 35, 159)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.7%, 78%, 0%, 37.6%)
CIE-LABlab(36.85, 59.40, -44.13)
CIE-LCHlch(36.85, 74.00, 323.39°)
OKLaboklab(48.19% 0.1564 -0.1236)
OKLCHoklch(48.19% 0.199 321.7)
XYZxyz(18.0137, 9.4571, 33.6707)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E239F #349F23
analogous
#50239F #8E239F #9F2372
triadic
#8E239F #9F8E23 #239F8E
tetradic
#8E239F #9F5023 #349F23 #23729F
square
#8E239F #9F5023 #349F23 #23729F
split-complementary
#8E239F #729F23 #239F50
monochromatic
#340D3B #61186D #8E239F #BB2ED1 #CB60DC

Accessibility & contrast

On white

7.26
#8E239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E239F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E239F#FFFFFF#000000##FFFFFF
##8E239F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#345B9C
Tritanopia (blue-blind)
#8F3C61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e239f;
/* rgb */ color: rgb(142, 35, 159);
/* oklch */ color: oklch(48.2% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#b36bbc',
    500: '#8e239f',
    950: '#000000',
  },
}
SCSS
$custom: #8e239f;
$custom-light: #b36bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e239f",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 291.774,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.19933,
    "h": 321.7
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#8E239F
secondary
#6AC15D
accent
#E74158
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E239F

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

Preview Lab → · Contrast checker → · Palette generator →

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