#8B24B4#8B24B4

#8B24B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.215 H 313.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8B24B4
RGBrgb(139, 36, 180)
HSLhsl(283, 67%, 42%)
HSVhsv(283, 80%, 71%)
CMYKcmyk(22.8%, 80%, 0%, 29.4%)
CIE-LABlab(37.93, 62.53, -54.98)
CIE-LCHlch(37.93, 83.26, 318.68°)
OKLaboklab(49.31% 0.1487 -0.1555)
OKLCHoklch(49.31% 0.215 313.7)
XYZxyz(19.5151, 10.0467, 44.0824)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24B4 #4DB424
analogous
#4324B4 #8B24B4 #B42495
triadic
#8B24B4 #B48B24 #24B48B
tetradic
#8B24B4 #B44324 #4DB424 #2495B4
square
#8B24B4 #B44324 #4DB424 #2495B4
split-complementary
#8B24B4 #95B424 #24B443
monochromatic
#3C104E #641A81 #8B24B4 #AC3DD8 #C270E2

Accessibility & contrast

On white

6.98
#8B24B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B24B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B24B4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24B4#FFFFFF#000000##FFFFFF
##8B24B41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#125CB1
Tritanopia (blue-blind)
#87476D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b24b4;
/* rgb */ color: rgb(139, 36, 180);
/* oklch */ color: oklch(49.3% 0.215 313.7);
Tailwind
colors: {
  custom: {
    50: '#b26ccb',
    500: '#8b24b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b24b4;
$custom-light: #b26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24b4",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 282.917,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.21516,
    "h": 313.7
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#8B24B4
secondary
#86C96B
accent
#EA3E6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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