#8F24B2#8F24B2

#8F24B2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.215 H 315.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8F24B2
RGBrgb(143, 36, 178)
HSLhsl(285, 66%, 42%)
HSVhsv(285, 80%, 70%)
CMYKcmyk(19.7%, 79.8%, 0%, 30.2%)
CIE-LABlab(38.40, 62.86, -52.99)
CIE-LCHlch(38.40, 82.21, 319.87°)
OKLaboklab(49.73% 0.1542 -0.1495)
OKLCHoklch(49.73% 0.215 315.9)
XYZxyz(19.9932, 10.3165, 43.0490)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F24B2 #47B224
analogous
#4824B2 #8F24B2 #B2248E
triadic
#8F24B2 #B28F24 #24B28F
tetradic
#8F24B2 #B24824 #47B224 #248EB2
square
#8F24B2 #B24824 #47B224 #248EB2
split-complementary
#8F24B2 #8EB224 #24B248
monochromatic
#3D0F4C #661A7F #8F24B2 #B13CD8 #C56FE2

Accessibility & contrast

On white

6.86
#8F24B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F24B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F24B2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F24B2#FFFFFF#000000##FFFFFF
##8F24B21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#205DAF
Tritanopia (blue-blind)
#8C466C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f24b2;
/* rgb */ color: rgb(143, 36, 178);
/* oklch */ color: oklch(49.7% 0.215 315.9);
Tailwind
colors: {
  custom: {
    50: '#b46cca',
    500: '#8f24b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f24b2;
$custom-light: #b46cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f24b2",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 285.211,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.21476,
    "h": 315.9
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#8F24B2
secondary
#81C869
accent
#E93F69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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