#8A24AF#8A24AF

#8A24AF is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.210 H 314.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A24AF
RGBrgb(138, 36, 175)
HSLhsl(284, 66%, 41%)
HSVhsv(284, 79%, 69%)
CMYKcmyk(21.1%, 79.4%, 0%, 31.4%)
CIE-LABlab(37.41, 61.36, -52.85)
CIE-LCHlch(37.41, 80.98, 319.26°)
OKLaboklab(48.8% 0.1484 -0.1493)
OKLCHoklch(48.8% 0.21 314.8)
XYZxyz(18.8487, 9.7609, 41.4403)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24AF #49AF24
analogous
#4524AF #8A24AF #AF248F
triadic
#8A24AF #AF8A24 #24AF8A
tetradic
#8A24AF #AF4524 #49AF24 #248FAF
square
#8A24AF #AF4524 #49AF24 #248FAF
split-complementary
#8A24AF #8FAF24 #24AF45
monochromatic
#3A0F49 #621A7C #8A24AF #AD3AD6 #C26DE1

Accessibility & contrast

On white

7.11
#8A24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24AF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24AF#FFFFFF#000000##FFFFFF
##8A24AF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#1B5AAC
Tritanopia (blue-blind)
#87456A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a24af;
/* rgb */ color: rgb(138, 36, 175);
/* oklch */ color: oklch(48.8% 0.210 314.8);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8a24af',
    950: '#000000',
  },
}
SCSS
$custom: #8a24af;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24af",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 284.029,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.21049,
    "h": 314.8
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#8A24AF
secondary
#81C768
accent
#E93F6C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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