#8D239E#8D239E

#8D239E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.198 H 321.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8D239E
RGBrgb(141, 35, 158)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.8%, 77.8%, 0%, 38%)
CIE-LABlab(36.62, 59.02, -43.90)
CIE-LCHlch(36.62, 73.56, 323.36°)
OKLaboklab(47.97% 0.1553 -0.1229)
OKLCHoklch(47.97% 0.198 321.6)
XYZxyz(17.7564, 9.3344, 33.2076)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D239E #349E23
analogous
#4F239E #8D239E #9E2372
triadic
#8D239E #9E8D23 #239E8D
tetradic
#8D239E #9E4F23 #349E23 #23729E
square
#8D239E #9E4F23 #349E23 #23729E
split-complementary
#8D239E #729E23 #239E4F
monochromatic
#340D3A #60186C #8D239E #BA2ED0 #CB60DC

Accessibility & contrast

On white

7.33
#8D239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D239E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D239E#FFFFFF#000000##FFFFFF
##8D239E1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#8E3C60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d239e;
/* rgb */ color: rgb(141, 35, 158);
/* oklch */ color: oklch(48.0% 0.198 321.6);
Tailwind
colors: {
  custom: {
    50: '#b26bbb',
    500: '#8d239e',
    950: '#000000',
  },
}
SCSS
$custom: #8d239e;
$custom-light: #b26bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d239e",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 291.707,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.1981,
    "h": 321.6
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D239E

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

Preview Lab → · Contrast checker → · Palette generator →

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