#8D23A8#8D23A8

#8D23A8 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.206 H 318.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D23A8
RGBrgb(141, 35, 168)
HSLhsl(288, 66%, 40%)
HSVhsv(288, 79%, 66%)
CMYKcmyk(16.1%, 79.2%, 0%, 34.1%)
CIE-LABlab(37.29, 60.88, -48.85)
CIE-LCHlch(37.29, 78.06, 321.26°)
OKLaboklab(48.65% 0.1541 -0.1374)
OKLCHoklch(48.65% 0.206 318.3)
XYZxyz(18.6524, 9.6928, 37.9266)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23A8 #3EA823
analogous
#4B23A8 #8D23A8 #A82380
triadic
#8D23A8 #A88D23 #23A88D
tetradic
#8D23A8 #A84B23 #3EA823 #2380A8
square
#8D23A8 #A84B23 #3EA823 #2380A8
split-complementary
#8D23A8 #80A823 #23A84B
monochromatic
#380E43 #621875 #8D23A8 #B434D5 #C766DF

Accessibility & contrast

On white

7.15
#8D23A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D23A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D23A8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23A8#FFFFFF#000000##FFFFFF
##8D23A81.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#8C4166
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d23a8;
/* rgb */ color: rgb(141, 35, 168);
/* oklch */ color: oklch(48.7% 0.206 318.3);
Tailwind
colors: {
  custom: {
    50: '#b36bc3',
    500: '#8d23a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d23a8;
$custom-light: #b36bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23a8",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 287.82,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.20648,
    "h": 318.3
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#8D23A8
secondary
#76C562
accent
#E83F62
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D23A8

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

Preview Lab → · Contrast checker → · Palette generator →

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