#8B24BD#8B24BD

#8B24BD is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.223 H 311.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8B24BD
RGBrgb(139, 36, 189)
HSLhsl(280, 68%, 44%)
HSVhsv(280, 81%, 74%)
CMYKcmyk(26.5%, 81%, 0%, 25.9%)
CIE-LABlab(38.60, 64.34, -59.21)
CIE-LCHlch(38.60, 87.44, 317.38°)
OKLaboklab(49.99% 0.1467 -0.1679)
OKLCHoklch(49.99% 0.223 311.1)
XYZxyz(20.4619, 10.4254, 49.0686)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24BD #56BD24
analogous
#3F24BD #8B24BD #BD24A3
triadic
#8B24BD #BD8B24 #24BD8B
tetradic
#8B24BD #BD3F24 #56BD24 #24A3BD
square
#8B24BD #BD3F24 #56BD24 #24A3BD
split-complementary
#8B24BD #A3BD24 #24BD3F
monochromatic
#3F1056 #651A8A #8B24BD #A943DB #C176E5

Accessibility & contrast

On white

6.81
#8B24BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8B24BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B24BD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24BD#FFFFFF#000000##FFFFFF
##8B24BD1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#844B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b24bd;
/* rgb */ color: rgb(139, 36, 189);
/* oklch */ color: oklch(50.0% 0.223 311.1);
Tailwind
colors: {
  custom: {
    50: '#b26cd2',
    500: '#8b24bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b24bd;
$custom-light: #b26cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24bd",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 280.392,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.223,
    "h": 311.1
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#8B24BD
secondary
#8ECC70
accent
#EB3D76
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8B24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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