#8D239A#8D239A

#8D239A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.195 H 323.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D239A
RGBrgb(141, 35, 154)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(8.4%, 77.3%, 0%, 39.6%)
CIE-LABlab(36.36, 58.29, -41.89)
CIE-LCHlch(36.36, 71.78, 324.30°)
OKLaboklab(47.71% 0.1557 -0.117)
OKLCHoklch(47.71% 0.195 323.1)
XYZxyz(17.4177, 9.1989, 31.4237)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D239A #309A23
analogous
#51239A #8D239A #9A236C
triadic
#8D239A #9A8D23 #239A8D
tetradic
#8D239A #9A5123 #309A23 #236C9A
square
#8D239A #9A5123 #309A23 #236C9A
split-complementary
#8D239A #6C9A23 #239A51
monochromatic
#320C36 #5F1868 #8D239A #BB2ECC #CD5DDA

Accessibility & contrast

On white

7.40
#8D239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D239A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D239A#FFFFFF#000000##FFFFFF
##8D239A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#375A97
Tritanopia (blue-blind)
#8F3A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d239a;
/* rgb */ color: rgb(141, 35, 154);
/* oklch */ color: oklch(47.7% 0.195 323.1);
Tailwind
colors: {
  custom: {
    50: '#b26bb8',
    500: '#8d239a',
    950: '#000000',
  },
}
SCSS
$custom: #8d239a;
$custom-light: #b26bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d239a",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 293.445,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.19478,
    "h": 323.1
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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