#8A24A4#8A24A4

#8A24A4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.201 H 318.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A24A4
RGBrgb(138, 36, 164)
HSLhsl(288, 64%, 39%)
HSVhsv(288, 78%, 64%)
CMYKcmyk(15.9%, 78%, 0%, 35.7%)
CIE-LABlab(36.64, 59.22, -47.51)
CIE-LCHlch(36.64, 75.92, 321.26°)
OKLaboklab(48.02% 0.1502 -0.1336)
OKLCHoklch(48.02% 0.201 318.3)
XYZxyz(17.8120, 9.3462, 35.9805)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24A4 #3EA424
analogous
#4A24A4 #8A24A4 #A4247E
triadic
#8A24A4 #A48A24 #24A48A
tetradic
#8A24A4 #A44A24 #3EA424 #247EA4
square
#8A24A4 #A44A24 #3EA424 #247EA4
split-complementary
#8A24A4 #7EA424 #24A44A
monochromatic
#360E40 #601972 #8A24A4 #B233D2 #C565DD

Accessibility & contrast

On white

7.32
#8A24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24A4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24A4#FFFFFF#000000##FFFFFF
##8A24A41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#894064
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a24a4;
/* rgb */ color: rgb(138, 36, 164);
/* oklch */ color: oklch(48.0% 0.201 318.3);
Tailwind
colors: {
  custom: {
    50: '#b06bc0',
    500: '#8a24a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a24a4;
$custom-light: #b06bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24a4",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 287.813,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48019,
    "c": 0.201,
    "h": 318.3
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#8A24A4
secondary
#75C361
accent
#E74163
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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