#8F24B9#8F24B9

#8F24B9 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.221 H 313.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8F24B9
RGBrgb(143, 36, 185)
HSLhsl(283, 67%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(22.7%, 80.5%, 0%, 27.5%)
CIE-LABlab(38.91, 64.23, -56.32)
CIE-LCHlch(38.91, 85.42, 318.75°)
OKLaboklab(50.24% 0.1528 -0.1593)
OKLCHoklch(50.24% 0.221 313.8)
XYZxyz(20.7140, 10.6049, 46.8453)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F24B9 #4EB924
analogous
#4424B9 #8F24B9 #B92498
triadic
#8F24B9 #B98F24 #24B98F
tetradic
#8F24B9 #B94424 #4EB924 #2498B9
square
#8F24B9 #B94424 #4EB924 #2498B9
split-complementary
#8F24B9 #98B924 #24B944
monochromatic
#401053 #671A86 #8F24B9 #AF40DA #C474E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F24B9#FFFFFF#000000##FFFFFF
##8F24B91.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)
#0056BD
Deuteranopia (green-blind)
#115EB6
Tritanopia (blue-blind)
#8B4970
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f24b9;
/* rgb */ color: rgb(143, 36, 185);
/* oklch */ color: oklch(50.2% 0.221 313.8);
Tailwind
colors: {
  custom: {
    50: '#b56dcf',
    500: '#8f24b9',
    950: '#000000',
  },
}
SCSS
$custom: #8f24b9;
$custom-light: #b56dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f24b9",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 185
  },
  "hsl": {
    "h": 283.087,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.22074,
    "h": 313.8
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#8F24B9
secondary
#88CB6E
accent
#EA3D6E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F24B9

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

Preview Lab → · Contrast checker → · Palette generator →

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