#8A24B1#8A24B1

#8A24B1 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.212 H 314.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A24B1
RGBrgb(138, 36, 177)
HSLhsl(283, 66%, 42%)
HSVhsv(283, 80%, 69%)
CMYKcmyk(22%, 79.7%, 0%, 30.6%)
CIE-LABlab(37.55, 61.76, -53.81)
CIE-LCHlch(37.55, 81.91, 318.93°)
OKLaboklab(48.95% 0.148 -0.1521)
OKLCHoklch(48.95% 0.212 314.2)
XYZxyz(19.0466, 9.8400, 42.4825)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24B1 #4BB124
analogous
#4324B1 #8A24B1 #B12492
triadic
#8A24B1 #B18A24 #24B18A
tetradic
#8A24B1 #B14324 #4BB124 #2492B1
square
#8A24B1 #B14324 #4BB124 #2492B1
split-complementary
#8A24B1 #92B124 #24B143
monochromatic
#3B0F4B #621A7E #8A24B1 #AC3BD7 #C26EE1

Accessibility & contrast

On white

7.08
#8A24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24B1
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24B1#FFFFFF#000000##FFFFFF
##8A24B11.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#86466B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a24b1;
/* rgb */ color: rgb(138, 36, 177);
/* oklch */ color: oklch(48.9% 0.212 314.2);
Tailwind
colors: {
  custom: {
    50: '#b16cc9',
    500: '#8a24b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a24b1;
$custom-light: #b16cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24b1",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 283.404,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.21222,
    "h": 314.2
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#8A24B1
secondary
#83C869
accent
#E93F6E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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