#8D239F#8D239F

#8D239F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.199 H 321.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8D239F
RGBrgb(141, 35, 159)
HSLhsl(291, 64%, 38%)
HSVhsv(291, 78%, 62%)
CMYKcmyk(11.3%, 78%, 0%, 37.6%)
CIE-LABlab(36.69, 59.20, -44.40)
CIE-LCHlch(36.69, 74.00, 323.13°)
OKLaboklab(48.04% 0.1552 -0.1244)
OKLCHoklch(48.04% 0.199 321.3)
XYZxyz(17.8428, 9.3690, 33.6627)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D239F #359F23
analogous
#4F239F #8D239F #9F2373
triadic
#8D239F #9F8D23 #239F8D
tetradic
#8D239F #9F4F23 #359F23 #23739F
square
#8D239F #9F4F23 #359F23 #23739F
split-complementary
#8D239F #739F23 #239F4F
monochromatic
#340D3B #61186D #8D239F #B92ED1 #CA60DC

Accessibility & contrast

On white

7.31
#8D239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D239F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D239F#FFFFFF#000000##FFFFFF
##8D239F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8E3D60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d239f;
/* rgb */ color: rgb(141, 35, 159);
/* oklch */ color: oklch(48.0% 0.199 321.3);
Tailwind
colors: {
  custom: {
    50: '#b26bbc',
    500: '#8d239f',
    950: '#000000',
  },
}
SCSS
$custom: #8d239f;
$custom-light: #b26bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d239f",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 291.29,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48039,
    "c": 0.19893,
    "h": 321.3
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#8D239F
secondary
#6BC15D
accent
#E74159
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D239F

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

Preview Lab → · Contrast checker → · Palette generator →

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