#8B24AD#8B24AD

#8B24AD is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.209 H 315.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8B24AD
RGBrgb(139, 36, 173)
HSLhsl(285, 66%, 41%)
HSVhsv(285, 79%, 68%)
CMYKcmyk(19.7%, 79.2%, 0%, 32.2%)
CIE-LABlab(37.42, 61.15, -51.63)
CIE-LCHlch(37.42, 80.03, 319.83°)
OKLaboklab(48.8% 0.15 -0.1457)
OKLCHoklch(48.8% 0.209 315.8)
XYZxyz(18.8200, 9.7686, 40.4212)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24AD #46AD24
analogous
#4624AD #8B24AD #AD248A
triadic
#8B24AD #AD8B24 #24AD8B
tetradic
#8B24AD #AD4624 #46AD24 #248AAD
square
#8B24AD #AD4624 #46AD24 #248AAD
split-complementary
#8B24AD #8AAD24 #24AD46
monochromatic
#3A0F48 #62197A #8B24AD #AF39D6 #C36BE0

Accessibility & contrast

On white

7.11
#8B24AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8B24AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B24AD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24AD#FFFFFF#000000##FFFFFF
##8B24AD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#205BAA
Tritanopia (blue-blind)
#884469
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b24ad;
/* rgb */ color: rgb(139, 36, 173);
/* oklch */ color: oklch(48.8% 0.209 315.8);
Tailwind
colors: {
  custom: {
    50: '#b16cc6',
    500: '#8b24ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b24ad;
$custom-light: #b16cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24ad",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 285.109,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.20909,
    "h": 315.8
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#8B24AD
secondary
#7EC666
accent
#E93F69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B24AD

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

Preview Lab → · Contrast checker → · Palette generator →

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