#8D23A6#8D23A6

#8D23A6 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.205 H 318.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D23A6
RGBrgb(141, 35, 166)
HSLhsl(289, 65%, 39%)
HSVhsv(289, 79%, 65%)
CMYKcmyk(15.1%, 78.9%, 0%, 34.9%)
CIE-LABlab(37.15, 60.50, -47.87)
CIE-LCHlch(37.15, 77.15, 321.65°)
OKLaboklab(48.52% 0.1544 -0.1346)
OKLCHoklch(48.52% 0.205 318.9)
XYZxyz(18.4676, 9.6189, 36.9529)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23A6 #3CA623
analogous
#4C23A6 #8D23A6 #A6237D
triadic
#8D23A6 #A68D23 #23A68D
tetradic
#8D23A6 #A64C23 #3CA623 #237DA6
square
#8D23A6 #A64C23 #3CA623 #237DA6
split-complementary
#8D23A6 #7DA623 #23A64C
monochromatic
#370E41 #621873 #8D23A6 #B532D4 #C765DF

Accessibility & contrast

On white

7.18
#8D23A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D23A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D23A6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23A6#FFFFFF#000000##FFFFFF
##8D23A61.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#8D4064
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d23a6;
/* rgb */ color: rgb(141, 35, 166);
/* oklch */ color: oklch(48.5% 0.205 318.9);
Tailwind
colors: {
  custom: {
    50: '#b26bc1',
    500: '#8d23a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d23a6;
$custom-light: #b26bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23a6",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 288.55,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.20479,
    "h": 318.9
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#8D23A6
secondary
#74C461
accent
#E84060
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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