#8A24B2#8A24B2

#8A24B2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.213 H 313.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A24B2
RGBrgb(138, 36, 178)
HSLhsl(283, 66%, 42%)
HSVhsv(283, 80%, 70%)
CMYKcmyk(22.5%, 79.8%, 0%, 30.2%)
CIE-LABlab(37.63, 61.96, -54.29)
CIE-LCHlch(37.63, 82.37, 318.77°)
OKLaboklab(49.02% 0.1478 -0.1535)
OKLCHoklch(49.02% 0.213 313.9)
XYZxyz(19.1466, 9.8800, 43.0093)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24B2 #4CB224
analogous
#4324B2 #8A24B2 #B22493
triadic
#8A24B2 #B28A24 #24B28A
tetradic
#8A24B2 #B24324 #4CB224 #2493B2
square
#8A24B2 #B24324 #4CB224 #2493B2
split-complementary
#8A24B2 #93B224 #24B243
monochromatic
#3B0F4C #631A7F #8A24B2 #AC3CD8 #C16FE2

Accessibility & contrast

On white

7.06
#8A24B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A24B2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24B2#FFFFFF#000000##FFFFFF
##8A24B21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#145BAF
Tritanopia (blue-blind)
#86476C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a24b2;
/* rgb */ color: rgb(138, 36, 178);
/* oklch */ color: oklch(49.0% 0.213 313.9);
Tailwind
colors: {
  custom: {
    50: '#b16cca',
    500: '#8a24b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a24b2;
$custom-light: #b16cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24b2",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 283.099,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.2131,
    "h": 313.9
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#8A24B2
secondary
#84C869
accent
#E93F6F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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