#8F24B4#8F24B4

#8F24B4 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.216 H 315.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F24B4
RGBrgb(143, 36, 180)
HSLhsl(285, 67%, 42%)
HSVhsv(285, 80%, 71%)
CMYKcmyk(20.6%, 80%, 0%, 29.4%)
CIE-LABlab(38.55, 63.25, -53.95)
CIE-LCHlch(38.55, 83.13, 319.54°)
OKLaboklab(49.87% 0.1538 -0.1523)
OKLCHoklch(49.87% 0.216 315.3)
XYZxyz(20.1954, 10.3975, 44.1143)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F24B4 #49B424
analogous
#4724B4 #8F24B4 #B42491
triadic
#8F24B4 #B48F24 #24B48F
tetradic
#8F24B4 #B44724 #49B424 #2491B4
square
#8F24B4 #B44724 #49B424 #2491B4
split-complementary
#8F24B4 #91B424 #24B447
monochromatic
#3E104E #661A81 #8F24B4 #B03DD8 #C570E2

Accessibility & contrast

On white

6.82
#8F24B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F24B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F24B4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F24B4#FFFFFF#000000##FFFFFF
##8F24B41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#1D5DB1
Tritanopia (blue-blind)
#8C476D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f24b4;
/* rgb */ color: rgb(143, 36, 180);
/* oklch */ color: oklch(49.9% 0.216 315.3);
Tailwind
colors: {
  custom: {
    50: '#b46ccb',
    500: '#8f24b4',
    950: '#000000',
  },
}
SCSS
$custom: #8f24b4;
$custom-light: #b46ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f24b4",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 284.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.21645,
    "h": 315.3
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#8F24B4
secondary
#83C96B
accent
#EA3E6A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8F24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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