#8A24C3#8A24C3

#8A24C3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.3% C 0.228 H 309.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A24C3
RGBrgb(138, 36, 195)
HSLhsl(278, 69%, 45%)
HSVhsv(278, 82%, 76%)
CMYKcmyk(29.2%, 81.5%, 0%, 23.5%)
CIE-LABlab(38.91, 65.41, -62.22)
CIE-LCHlch(38.91, 90.28, 316.43°)
OKLaboklab(50.32% 0.1439 -0.1768)
OKLCHoklch(50.32% 0.228 309.1)
XYZxyz(20.9604, 10.6056, 52.5621)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A24C3 #5DC324
analogous
#3B24C3 #8A24C3 #C324AC
triadic
#8A24C3 #C38A24 #24C38A
tetradic
#8A24C3 #C33B24 #5DC324 #24ACC3
square
#8A24C3 #C33B24 #5DC324 #24ACC3
split-complementary
#8A24C3 #ACC324 #24C33B
monochromatic
#41115C #651A8F #8A24C3 #A747DD #C07BE7

Accessibility & contrast

On white

6.73
#8A24C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A24C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A24C3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A24C3#FFFFFF#000000##FFFFFF
##8A24C31.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#814E75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a24c3;
/* rgb */ color: rgb(138, 36, 195);
/* oklch */ color: oklch(50.3% 0.228 309.1);
Tailwind
colors: {
  custom: {
    50: '#b26dd6',
    500: '#8a24c3',
    950: '#000000',
  },
}
SCSS
$custom: #8a24c3;
$custom-light: #b26dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a24c3",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 195
  },
  "hsl": {
    "h": 278.491,
    "s": 68.831,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.22799,
    "h": 309.1
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#8A24C3
secondary
#95CE74
accent
#EC3C7B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8A24C3

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

Preview Lab → · Contrast checker → · Palette generator →

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