#8D23A5#8D23A5

#8D23A5 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.204 H 319.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D23A5
RGBrgb(141, 35, 165)
HSLhsl(289, 65%, 39%)
HSVhsv(289, 79%, 65%)
CMYKcmyk(14.5%, 78.8%, 0%, 35.3%)
CIE-LABlab(37.08, 60.32, -47.38)
CIE-LCHlch(37.08, 76.70, 321.85°)
OKLaboklab(48.45% 0.1545 -0.1331)
OKLCHoklch(48.45% 0.204 319.3)
XYZxyz(18.3762, 9.5823, 36.4716)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23A5 #3BA523
analogous
#4C23A5 #8D23A5 #A5237C
triadic
#8D23A5 #A58D23 #23A58D
tetradic
#8D23A5 #A54C23 #3BA523 #237CA5
square
#8D23A5 #A54C23 #3BA523 #237CA5
split-complementary
#8D23A5 #7CA523 #23A54C
monochromatic
#370E40 #621873 #8D23A5 #B632D3 #C864DE

Accessibility & contrast

On white

7.20
#8D23A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D23A5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23A5#FFFFFF#000000##FFFFFF
##8D23A51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2D5BA2
Tritanopia (blue-blind)
#8D3F64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d23a5;
/* rgb */ color: rgb(141, 35, 165);
/* oklch */ color: oklch(48.4% 0.204 319.3);
Tailwind
colors: {
  custom: {
    50: '#b26bc0',
    500: '#8d23a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d23a5;
$custom-light: #b26bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23a5",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 288.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.20395,
    "h": 319.3
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#8D23A5
secondary
#73C460
accent
#E8405F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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