#8D24B3#8D24B3

#8D24B3 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.215 H 314.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D24B3
RGBrgb(141, 36, 179)
HSLhsl(284, 67%, 42%)
HSVhsv(284, 80%, 70%)
CMYKcmyk(21.2%, 79.9%, 0%, 29.8%)
CIE-LABlab(38.16, 62.69, -53.99)
CIE-LCHlch(38.16, 82.73, 319.27°)
OKLaboklab(49.52% 0.1514 -0.1525)
OKLCHoklch(49.52% 0.215 314.8)
XYZxyz(19.7507, 10.1799, 43.5636)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24B3 #4AB324
analogous
#4624B3 #8D24B3 #B32492
triadic
#8D24B3 #B38D24 #24B38D
tetradic
#8D24B3 #B34624 #4AB324 #2492B3
square
#8D24B3 #B34624 #4AB324 #2492B3
split-complementary
#8D24B3 #92B324 #24B346
monochromatic
#3D104D #651A80 #8D24B3 #AF3CD8 #C46FE2

Accessibility & contrast

On white

6.92
#8D24B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D24B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D24B3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24B3#FFFFFF#000000##FFFFFF
##8D24B31.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d24b3;
/* rgb */ color: rgb(141, 36, 179);
/* oklch */ color: oklch(49.5% 0.215 314.8);
Tailwind
colors: {
  custom: {
    50: '#b36ccb',
    500: '#8d24b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d24b3;
$custom-light: #b36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24b3",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 284.056,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.21494,
    "h": 314.8
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#8D24B3
secondary
#83C96A
accent
#E93E6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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