#8A24A5#8A24A5

#8A24A5 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 318.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A24A5
RGBrgb(138, 36, 165)
HSLhsl(287, 64%, 39%)
HSVhsv(287, 78%, 65%)
CMYKcmyk(16.4%, 78.2%, 0%, 35.3%)
CIE-LABlab(36.71, 59.41, -48.00)
CIE-LCHlch(36.71, 76.38, 321.06°)
OKLaboklab(48.09% 0.15 -0.135)
OKLCHoklch(48.09% 0.202 318)
XYZxyz(17.9027, 9.3825, 36.4580)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24A5 #3FA524
analogous
#4A24A5 #8A24A5 #A52480
triadic
#8A24A5 #A58A24 #24A58A
tetradic
#8A24A5 #A54A24 #3FA524 #2480A5
square
#8A24A5 #A54A24 #3FA524 #2480A5
split-complementary
#8A24A5 #80A524 #24A54A
monochromatic
#360E41 #601973 #8A24A5 #B134D3 #C566DE

Accessibility & contrast

On white

7.30
#8A24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24A5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24A5#FFFFFF#000000##FFFFFF
##8A24A51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a24a5;
/* rgb */ color: rgb(138, 36, 165);
/* oklch */ color: oklch(48.1% 0.202 318.0);
Tailwind
colors: {
  custom: {
    50: '#b06bc0',
    500: '#8a24a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a24a5;
$custom-light: #b06bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24a5",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 287.442,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.20185,
    "h": 318
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#8A24A5
secondary
#76C362
accent
#E74163
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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