#8A24A0#8A24A0

#8A24A0 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 319.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A24A0
RGBrgb(138, 36, 160)
HSLhsl(289, 63%, 38%)
HSVhsv(289, 78%, 63%)
CMYKcmyk(13.8%, 77.5%, 0%, 37.3%)
CIE-LABlab(36.37, 58.46, -45.53)
CIE-LCHlch(36.37, 74.10, 322.09°)
OKLaboklab(47.74% 0.1507 -0.1278)
OKLCHoklch(47.74% 0.198 319.7)
XYZxyz(17.4565, 9.2040, 34.1079)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24A0 #3AA024
analogous
#4C24A0 #8A24A0 #A02478
triadic
#8A24A0 #A08A24 #24A08A
tetradic
#8A24A0 #A04C24 #3AA024 #2478A0
square
#8A24A0 #A04C24 #3AA024 #2478A0
split-complementary
#8A24A0 #78A024 #24A04C
monochromatic
#340E3C #5F196E #8A24A0 #B431D1 #C663DC

Accessibility & contrast

On white

7.39
#8A24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24A0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24A0#FFFFFF#000000##FFFFFF
##8A24A01.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#8A3E61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a24a0;
/* rgb */ color: rgb(138, 36, 160);
/* oklch */ color: oklch(47.7% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#b06bbd',
    500: '#8a24a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a24a0;
$custom-light: #b06bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24a0",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 289.355,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.19756,
    "h": 319.7
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#8A24A0
secondary
#70C15F
accent
#E6415F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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