#8D24B2#8D24B2

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

Color values

HEX#8D24B2
RGBrgb(141, 36, 178)
HSLhsl(284, 66%, 42%)
HSVhsv(284, 80%, 70%)
CMYKcmyk(20.8%, 79.8%, 0%, 30.2%)
CIE-LABlab(38.09, 62.50, -53.51)
CIE-LCHlch(38.09, 82.27, 319.43°)
OKLaboklab(49.44% 0.1516 -0.1511)
OKLCHoklch(49.44% 0.214 315.1)
XYZxyz(19.6499, 10.1396, 43.0329)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24B2 #49B224
analogous
#4624B2 #8D24B2 #B22490
triadic
#8D24B2 #B28D24 #24B28D
tetradic
#8D24B2 #B24624 #49B224 #2490B2
square
#8D24B2 #B24624 #49B224 #2490B2
split-complementary
#8D24B2 #90B224 #24B246
monochromatic
#3C0F4C #651A7F #8D24B2 #AF3CD8 #C46FE2

Accessibility & contrast

On white

6.94
#8D24B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D24B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D24B2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24B2#FFFFFF#000000##FFFFFF
##8D24B21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#8A466C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d24b2;
/* rgb */ color: rgb(141, 36, 178);
/* oklch */ color: oklch(49.4% 0.214 315.1);
Tailwind
colors: {
  custom: {
    50: '#b36cca',
    500: '#8d24b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d24b2;
$custom-light: #b36cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24b2",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 284.366,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.21408,
    "h": 315.1
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#8D24B2
secondary
#82C869
accent
#E93F6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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