#8D238A#8D238A

#8D238A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 329.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8D238A
RGBrgb(141, 35, 138)
HSLhsl(302, 60%, 35%)
HSVhsv(302, 75%, 55%)
CMYKcmyk(0%, 75.2%, 2.1%, 44.7%)
CIE-LABlab(35.40, 55.51, -33.63)
CIE-LCHlch(35.40, 64.90, 328.79°)
OKLaboklab(46.71% 0.1563 -0.093)
OKLCHoklch(46.71% 0.182 329.3)
XYZxyz(16.1729, 8.7010, 24.8675)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D238A #238D26
analogous
#5B238D #8D238A #8D2355
triadic
#8D238A #8A8D23 #238A8D
tetradic
#8D238A #8D5B23 #238D26 #23558D
square
#8D238A #8D5B23 #238D26 #23558D
split-complementary
#8D238A #558D23 #238D5B
monochromatic
#2B0B2A #5C175A #8D238A #BE2FBA #D555D1

Accessibility & contrast

On white

7.66
#8D238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D238A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D238A#FFFFFF#000000##FFFFFF
##8D238A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#923255
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d238a;
/* rgb */ color: rgb(141, 35, 138);
/* oklch */ color: oklch(46.7% 0.182 329.3);
Tailwind
colors: {
  custom: {
    50: '#b26aac',
    500: '#8d238a',
    950: '#000000',
  },
}
SCSS
$custom: #8d238a;
$custom-light: #b26aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d238a",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 301.698,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.18187,
    "h": 329.3
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#8D238A
secondary
#53B956
accent
#E34944
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D238A

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

Preview Lab → · Contrast checker → · Palette generator →

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