#8B24BA#8B24BA

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

Color values

HEX#8B24BA
RGBrgb(139, 36, 186)
HSLhsl(281, 68%, 44%)
HSVhsv(281, 81%, 73%)
CMYKcmyk(25.3%, 80.6%, 0%, 27.1%)
CIE-LABlab(38.37, 63.73, -57.81)
CIE-LCHlch(38.37, 86.05, 317.79°)
OKLaboklab(49.76% 0.1474 -0.1638)
OKLCHoklch(49.76% 0.22 312)
XYZxyz(20.1396, 10.2965, 47.3714)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24BA #53BA24
analogous
#4024BA #8B24BA #BA249E
triadic
#8B24BA #BA8B24 #24BA8B
tetradic
#8B24BA #BA4024 #53BA24 #249EBA
square
#8B24BA #BA4024 #53BA24 #249EBA
split-complementary
#8B24BA #9EBA24 #24BA40
monochromatic
#3E1053 #651A87 #8B24BA #AA41DA #C174E4

Accessibility & contrast

On white

6.86
#8B24BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B24BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B24BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24BA#FFFFFF#000000##FFFFFF
##8B24BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#854A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b24ba;
/* rgb */ color: rgb(139, 36, 186);
/* oklch */ color: oklch(49.8% 0.220 312.0);
Tailwind
colors: {
  custom: {
    50: '#b26cd0',
    500: '#8b24ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b24ba;
$custom-light: #b26cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24ba",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 281.2,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.22038,
    "h": 312
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#8B24BA
secondary
#8CCB6E
accent
#EA3D74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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