#8A24BA#8A24BA

#8A24BA is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.220 H 311.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A24BA
RGBrgb(138, 36, 186)
HSLhsl(281, 68%, 44%)
HSVhsv(281, 81%, 73%)
CMYKcmyk(25.8%, 80.6%, 0%, 27.1%)
CIE-LABlab(38.22, 63.57, -58.06)
CIE-LCHlch(38.22, 86.09, 317.59°)
OKLaboklab(49.62% 0.1461 -0.1646)
OKLCHoklch(49.62% 0.22 311.6)
XYZxyz(19.9734, 10.2107, 47.3636)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24BA #54BA24
analogous
#3F24BA #8A24BA #BA249F
triadic
#8A24BA #BA8A24 #24BA8A
tetradic
#8A24BA #BA3F24 #54BA24 #249FBA
square
#8A24BA #BA3F24 #54BA24 #249FBA
split-complementary
#8A24BA #9FBA24 #24BA3F
monochromatic
#3E1053 #641A87 #8A24BA #A941DA #C074E4

Accessibility & contrast

On white

6.90
#8A24BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A24BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A24BA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24BA#FFFFFF#000000##FFFFFF
##8A24BA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#844A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a24ba;
/* rgb */ color: rgb(138, 36, 186);
/* oklch */ color: oklch(49.6% 0.220 311.6);
Tailwind
colors: {
  custom: {
    50: '#b16cd0',
    500: '#8a24ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a24ba;
$custom-light: #b16cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24ba",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 280.8,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.22009,
    "h": 311.6
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#8A24BA
secondary
#8CCB6E
accent
#EA3D75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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