#8B24B9#8B24B9

#8B24B9 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.220 H 312.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B24B9
RGBrgb(139, 36, 185)
HSLhsl(281, 67%, 43%)
HSVhsv(281, 81%, 73%)
CMYKcmyk(24.9%, 80.5%, 0%, 27.5%)
CIE-LABlab(38.29, 63.53, -57.34)
CIE-LCHlch(38.29, 85.58, 317.93°)
OKLaboklab(49.68% 0.1476 -0.1624)
OKLCHoklch(49.68% 0.22 312.3)
XYZxyz(20.0337, 10.2541, 46.8134)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24B9 #52B924
analogous
#4124B9 #8B24B9 #B9249C
triadic
#8B24B9 #B98B24 #24B98B
tetradic
#8B24B9 #B94124 #52B924 #249CB9
square
#8B24B9 #B94124 #52B924 #249CB9
split-complementary
#8B24B9 #9CB924 #24B941
monochromatic
#3E1053 #651A86 #8B24B9 #AA40DA #C174E4

Accessibility & contrast

On white

6.88
#8B24B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B24B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B24B9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24B9#FFFFFF#000000##FFFFFF
##8B24B91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#854A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b24b9;
/* rgb */ color: rgb(139, 36, 185);
/* oklch */ color: oklch(49.7% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#b26ccf',
    500: '#8b24b9',
    950: '#000000',
  },
}
SCSS
$custom: #8b24b9;
$custom-light: #b26ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24b9",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 185
  },
  "hsl": {
    "h": 281.477,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.21951,
    "h": 312.3
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#8B24B9
secondary
#8BCB6E
accent
#EA3D73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B24B9

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

Preview Lab → · Contrast checker → · Palette generator →

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