#8A24B0#8A24B0

#8A24B0 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.211 H 314.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A24B0
RGBrgb(138, 36, 176)
HSLhsl(284, 66%, 42%)
HSVhsv(284, 80%, 69%)
CMYKcmyk(21.6%, 79.5%, 0%, 31%)
CIE-LABlab(37.48, 61.56, -53.33)
CIE-LCHlch(37.48, 81.45, 319.10°)
OKLaboklab(48.88% 0.1482 -0.1507)
OKLCHoklch(48.88% 0.211 314.5)
XYZxyz(18.9473, 9.8003, 41.9595)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24B0 #4AB024
analogous
#4424B0 #8A24B0 #B02490
triadic
#8A24B0 #B08A24 #24B08A
tetradic
#8A24B0 #B04424 #4AB024 #2490B0
square
#8A24B0 #B04424 #4AB024 #2490B0
split-complementary
#8A24B0 #90B024 #24B044
monochromatic
#3A0F4A #621A7D #8A24B0 #AC3AD7 #C26DE1

Accessibility & contrast

On white

7.09
#8A24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24B0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24B0#FFFFFF#000000##FFFFFF
##8A24B01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#86466A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a24b0;
/* rgb */ color: rgb(138, 36, 176);
/* oklch */ color: oklch(48.9% 0.211 314.5);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8a24b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a24b0;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24b0",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 283.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.21135,
    "h": 314.5
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#8A24B0
secondary
#82C868
accent
#E93F6D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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