#8D239B#8D239B

#8D239B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 322.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D239B
RGBrgb(141, 35, 155)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 61%)
CMYKcmyk(9%, 77.4%, 0%, 39.2%)
CIE-LABlab(36.43, 58.47, -42.39)
CIE-LCHlch(36.43, 72.22, 324.06°)
OKLaboklab(47.77% 0.1556 -0.1185)
OKLCHoklch(47.77% 0.196 322.7)
XYZxyz(17.5013, 9.2324, 31.8642)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D239B #319B23
analogous
#51239B #8D239B #9B236D
triadic
#8D239B #9B8D23 #239B8D
tetradic
#8D239B #9B5123 #319B23 #236D9B
square
#8D239B #9B5123 #319B23 #236D9B
split-complementary
#8D239B #6D9B23 #239B51
monochromatic
#320C37 #601869 #8D239B #BA2ECD #CC5EDB

Accessibility & contrast

On white

7.38
#8D239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D239B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D239B#FFFFFF#000000##FFFFFF
##8D239B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8F3B5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d239b;
/* rgb */ color: rgb(141, 35, 155);
/* oklch */ color: oklch(47.8% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#b26bb9',
    500: '#8d239b',
    950: '#000000',
  },
}
SCSS
$custom: #8d239b;
$custom-light: #b26bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d239b",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 293,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.19561,
    "h": 322.7
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#8D239B
secondary
#66BF5A
accent
#E64255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D239B

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

Preview Lab → · Contrast checker → · Palette generator →

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