#8D239D#8D239D

#8D239D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.197 H 322.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D239D
RGBrgb(141, 35, 157)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.2%, 77.7%, 0%, 38.4%)
CIE-LABlab(36.56, 58.84, -43.40)
CIE-LCHlch(36.56, 73.11, 323.59°)
OKLaboklab(47.91% 0.1554 -0.1215)
OKLCHoklch(47.91% 0.197 322)
XYZxyz(17.6707, 9.3001, 32.7561)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D239D #339D23
analogous
#50239D #8D239D #9D2370
triadic
#8D239D #9D8D23 #239D8D
tetradic
#8D239D #9D5023 #339D23 #23709D
square
#8D239D #9D5023 #339D23 #23709D
split-complementary
#8D239D #709D23 #239D50
monochromatic
#330D39 #60186B #8D239D #BA2ECF #CB5FDB

Accessibility & contrast

On white

7.34
#8D239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D239D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D239D#FFFFFF#000000##FFFFFF
##8D239D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#8F3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d239d;
/* rgb */ color: rgb(141, 35, 157);
/* oklch */ color: oklch(47.9% 0.197 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26bba',
    500: '#8d239d',
    950: '#000000',
  },
}
SCSS
$custom: #8d239d;
$custom-light: #b26bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d239d",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 292.131,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.19727,
    "h": 322
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D239D

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

Preview Lab → · Contrast checker → · Palette generator →

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