#8D237D#8D237D

#8D237D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.172 H 334.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D237D
RGBrgb(141, 35, 125)
HSLhsl(309, 60%, 35%)
HSVhsv(309, 75%, 55%)
CMYKcmyk(0%, 75.2%, 11.3%, 44.7%)
CIE-LABlab(34.69, 53.40, -26.67)
CIE-LCHlch(34.69, 59.69, 333.46°)
OKLaboklab(45.98% 0.1557 -0.0729)
OKLCHoklch(45.98% 0.172 334.9)
XYZxyz(15.2874, 8.3468, 20.2040)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D237D #238D33
analogous
#68238D #8D237D #8D2348
triadic
#8D237D #7D8D23 #237D8D
tetradic
#8D237D #8D6823 #238D33 #23488D
square
#8D237D #8D6823 #238D33 #23488D
split-complementary
#8D237D #488D23 #238D68
monochromatic
#2B0B26 #5C1752 #8D237D #BE2FA8 #D555C2

Accessibility & contrast

On white

7.87
#8D237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D237D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D237D#FFFFFF#000000##FFFFFF
##8D237D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22487F
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#942C4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d237d;
/* rgb */ color: rgb(141, 35, 125);
/* oklch */ color: oklch(46.0% 0.172 334.9);
Tailwind
colors: {
  custom: {
    50: '#b269a3',
    500: '#8d237d',
    950: '#000000',
  },
}
SCSS
$custom: #8d237d;
$custom-light: #b269a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d237d",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 309.057,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.17193,
    "h": 334.9
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#8D237D
secondary
#53B962
accent
#E35C44
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D237D

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

Preview Lab → · Contrast checker → · Palette generator →

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