#8A24B4#8A24B4

#8A24B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.215 H 313.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A24B4
RGBrgb(138, 36, 180)
HSLhsl(283, 67%, 42%)
HSVhsv(283, 80%, 71%)
CMYKcmyk(23.3%, 80%, 0%, 29.4%)
CIE-LABlab(37.77, 62.36, -55.24)
CIE-LCHlch(37.77, 83.30, 318.46°)
OKLaboklab(49.17% 0.1474 -0.1563)
OKLCHoklch(49.17% 0.215 313.3)
XYZxyz(19.3489, 9.9609, 44.0746)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24B4 #4EB424
analogous
#4224B4 #8A24B4 #B42496
triadic
#8A24B4 #B48A24 #24B48A
tetradic
#8A24B4 #B44224 #4EB424 #2496B4
square
#8A24B4 #B44224 #4EB424 #2496B4
split-complementary
#8A24B4 #96B424 #24B442
monochromatic
#3C104E #631A81 #8A24B4 #AB3DD8 #C170E2

Accessibility & contrast

On white

7.02
#8A24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A24B4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24B4#FFFFFF#000000##FFFFFF
##8A24B41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0E5BB1
Tritanopia (blue-blind)
#85476D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a24b4;
/* rgb */ color: rgb(138, 36, 180);
/* oklch */ color: oklch(49.2% 0.215 313.3);
Tailwind
colors: {
  custom: {
    50: '#b16ccb',
    500: '#8a24b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a24b4;
$custom-light: #b16ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24b4",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 282.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.21484,
    "h": 313.3
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#8A24B4
secondary
#86C96B
accent
#EA3E70
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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