#8A24B3#8A24B3

#8A24B3 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.214 H 313.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A24B3
RGBrgb(138, 36, 179)
HSLhsl(283, 67%, 42%)
HSVhsv(283, 80%, 70%)
CMYKcmyk(22.9%, 79.9%, 0%, 29.8%)
CIE-LABlab(37.70, 62.16, -54.76)
CIE-LCHlch(37.70, 82.84, 318.62°)
OKLaboklab(49.1% 0.1476 -0.1549)
OKLCHoklch(49.1% 0.214 313.6)
XYZxyz(19.2474, 9.9203, 43.5400)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24B3 #4DB324
analogous
#4224B3 #8A24B3 #B32495
triadic
#8A24B3 #B38A24 #24B38A
tetradic
#8A24B3 #B34224 #4DB324 #2495B3
square
#8A24B3 #B34224 #4DB324 #2495B3
split-complementary
#8A24B3 #95B324 #24B342
monochromatic
#3B104D #631A80 #8A24B3 #AB3CD8 #C16FE2

Accessibility & contrast

On white

7.04
#8A24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24B3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24B3#FFFFFF#000000##FFFFFF
##8A24B31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#115BB0
Tritanopia (blue-blind)
#86476C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a24b3;
/* rgb */ color: rgb(138, 36, 179);
/* oklch */ color: oklch(49.1% 0.214 313.6);
Tailwind
colors: {
  custom: {
    50: '#b16ccb',
    500: '#8a24b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a24b3;
$custom-light: #b16ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24b3",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 282.797,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.21397,
    "h": 313.6
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#8A24B3
secondary
#85C96A
accent
#E93E6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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