#8B24C3#8B24C3

#8B24C3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.5% C 0.228 H 309.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8B24C3
RGBrgb(139, 36, 195)
HSLhsl(279, 69%, 45%)
HSVhsv(279, 82%, 76%)
CMYKcmyk(28.7%, 81.5%, 0%, 23.5%)
CIE-LABlab(39.06, 65.57, -61.98)
CIE-LCHlch(39.06, 90.22, 316.61°)
OKLaboklab(50.45% 0.1453 -0.1761)
OKLCHoklch(50.45% 0.228 309.5)
XYZxyz(21.1267, 10.6913, 52.5699)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B24C3 #5CC324
analogous
#3C24C3 #8B24C3 #C324AB
triadic
#8B24C3 #C38B24 #24C38B
tetradic
#8B24C3 #C33C24 #5CC324 #24ABC3
square
#8B24C3 #C33C24 #5CC324 #24ABC3
split-complementary
#8B24C3 #ABC324 #24C33C
monochromatic
#41115C #661A8F #8B24C3 #A847DD #C17BE7

Accessibility & contrast

On white

6.69
#8B24C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8B24C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B24C3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B24C3#FFFFFF#000000##FFFFFF
##8B24C31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b24c3;
/* rgb */ color: rgb(139, 36, 195);
/* oklch */ color: oklch(50.5% 0.228 309.5);
Tailwind
colors: {
  custom: {
    50: '#b36dd6',
    500: '#8b24c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b24c3;
$custom-light: #b36dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b24c3",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 195
  },
  "hsl": {
    "h": 278.868,
    "s": 68.831,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.22825,
    "h": 309.5
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#8B24C3
secondary
#94CE74
accent
#EC3C7A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B24C3

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

Preview Lab → · Contrast checker → · Palette generator →

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