#8D24B1#8D24B1

#8D24B1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.213 H 315.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8D24B1
RGBrgb(141, 36, 177)
HSLhsl(285, 66%, 42%)
HSVhsv(285, 80%, 69%)
CMYKcmyk(20.3%, 79.7%, 0%, 30.6%)
CIE-LABlab(38.02, 62.30, -53.03)
CIE-LCHlch(38.02, 81.81, 319.59°)
OKLaboklab(49.37% 0.1518 -0.1497)
OKLCHoklch(49.37% 0.213 315.4)
XYZxyz(19.5499, 10.0996, 42.5060)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24B1 #48B124
analogous
#4724B1 #8D24B1 #B1248F
triadic
#8D24B1 #B18D24 #24B18D
tetradic
#8D24B1 #B14724 #48B124 #248FB1
square
#8D24B1 #B14724 #48B124 #248FB1
split-complementary
#8D24B1 #8FB124 #24B147
monochromatic
#3C0F4B #641A7E #8D24B1 #AF3BD7 #C46EE1

Accessibility & contrast

On white

6.95
#8D24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D24B1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24B1#FFFFFF#000000##FFFFFF
##8D24B11.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#8A466B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d24b1;
/* rgb */ color: rgb(141, 36, 177);
/* oklch */ color: oklch(49.4% 0.213 315.4);
Tailwind
colors: {
  custom: {
    50: '#b36cc9',
    500: '#8d24b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d24b1;
$custom-light: #b36cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24b1",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 284.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.21323,
    "h": 315.4
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#8D24B1
secondary
#81C869
accent
#E93F6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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