#8A24A3#8A24A3

#8A24A3 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.200 H 318.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A24A3
RGBrgb(138, 36, 163)
HSLhsl(288, 64%, 39%)
HSVhsv(288, 78%, 64%)
CMYKcmyk(15.3%, 77.9%, 0%, 36.1%)
CIE-LABlab(36.57, 59.03, -47.02)
CIE-LCHlch(36.57, 75.47, 321.46°)
OKLaboklab(47.95% 0.1503 -0.1322)
OKLCHoklch(47.95% 0.2 318.7)
XYZxyz(17.7221, 9.3102, 35.5068)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24A3 #3DA324
analogous
#4B24A3 #8A24A3 #A3247D
triadic
#8A24A3 #A38A24 #24A38A
tetradic
#8A24A3 #A34B24 #3DA324 #247DA3
square
#8A24A3 #A34B24 #3DA324 #247DA3
split-complementary
#8A24A3 #7DA324 #24A34B
monochromatic
#350E3F #601971 #8A24A3 #B232D2 #C565DD

Accessibility & contrast

On white

7.34
#8A24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24A3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24A3#FFFFFF#000000##FFFFFF
##8A24A31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#8A4063
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a24a3;
/* rgb */ color: rgb(138, 36, 163);
/* oklch */ color: oklch(47.9% 0.200 318.7);
Tailwind
colors: {
  custom: {
    50: '#b06bbf',
    500: '#8a24a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a24a3;
$custom-light: #b06bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24a3",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 288.189,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.20013,
    "h": 318.7
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#8A24A3
secondary
#74C260
accent
#E74162
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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