#8F24BC#8F24BC

#8F24BC is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.223 H 313.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F24BC
RGBrgb(143, 36, 188)
HSLhsl(282, 68%, 44%)
HSVhsv(282, 81%, 74%)
CMYKcmyk(23.9%, 80.9%, 0%, 26.3%)
CIE-LABlab(39.13, 64.82, -57.73)
CIE-LCHlch(39.13, 86.80, 318.31°)
OKLaboklab(50.46% 0.1522 -0.1634)
OKLCHoklch(50.46% 0.223 313)
XYZxyz(21.0340, 10.7329, 48.5308)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F24BC #51BC24
analogous
#4324BC #8F24BC #BC249D
triadic
#8F24BC #BC8F24 #24BC8F
tetradic
#8F24BC #BC4324 #51BC24 #249DBC
square
#8F24BC #BC4324 #51BC24 #249DBC
split-complementary
#8F24BC #9DBC24 #24BC43
monochromatic
#411055 #681A89 #8F24BC #AE42DB #C476E5

Accessibility & contrast

On white

6.67
#8F24BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F24BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F24BC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F24BC#FFFFFF#000000##FFFFFF
##8F24BC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#8A4A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f24bc;
/* rgb */ color: rgb(143, 36, 188);
/* oklch */ color: oklch(50.5% 0.223 313.0);
Tailwind
colors: {
  custom: {
    50: '#b56dd1',
    500: '#8f24bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f24bc;
$custom-light: #b56dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f24bc",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 282.237,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.22331,
    "h": 313
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#8F24BC
secondary
#8BCC70
accent
#EB3D70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F24BC

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

Preview Lab → · Contrast checker → · Palette generator →

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