#8A24AE#8A24AE

#8A24AE is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.210 H 315.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8A24AE
RGBrgb(138, 36, 174)
HSLhsl(284, 66%, 41%)
HSVhsv(284, 79%, 68%)
CMYKcmyk(20.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(37.34, 61.16, -52.37)
CIE-LCHlch(37.34, 80.52, 319.43°)
OKLaboklab(48.73% 0.1486 -0.1479)
OKLCHoklch(48.73% 0.21 315.1)
XYZxyz(18.7508, 9.7217, 40.9250)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24AE #48AE24
analogous
#4524AE #8A24AE #AE248D
triadic
#8A24AE #AE8A24 #24AE8A
tetradic
#8A24AE #AE4524 #48AE24 #248DAE
square
#8A24AE #AE4524 #48AE24 #248DAE
split-complementary
#8A24AE #8DAE24 #24AE45
monochromatic
#3A0F49 #621A7B #8A24AE #AD39D6 #C26CE1

Accessibility & contrast

On white

7.13
#8A24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24AE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24AE#FFFFFF#000000##FFFFFF
##8A24AE1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#1D5AAB
Tritanopia (blue-blind)
#874569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a24ae;
/* rgb */ color: rgb(138, 36, 174);
/* oklch */ color: oklch(48.7% 0.210 315.1);
Tailwind
colors: {
  custom: {
    50: '#b16cc7',
    500: '#8a24ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a24ae;
$custom-light: #b16cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24ae",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 284.348,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.20962,
    "h": 315.1
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#8A24AE
secondary
#80C767
accent
#E93F6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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