#8F2CAC#8F2CAC

#8F2CAC is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.202 H 317.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8F2CAC
RGBrgb(143, 44, 172)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(16.9%, 74.4%, 0%, 32.5%)
CIE-LABlab(38.93, 58.99, -48.57)
CIE-LCHlch(38.93, 76.41, 320.53°)
OKLaboklab(49.97% 0.1481 -0.1366)
OKLCHoklch(49.97% 0.202 317.3)
XYZxyz(19.6737, 10.6204, 40.0354)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CAC #49AC2C
analogous
#4F2CAC #8F2CAC #AC2C89
triadic
#8F2CAC #AC8F2C #2CAC8F
tetradic
#8F2CAC #AC4F2C #49AC2C #2C89AC
square
#8F2CAC #AC4F2C #49AC2C #2C89AC
split-complementary
#8F2CAC #89AC2C #2CAC4F
monochromatic
#3E134B #66207B #8F2CAC #B046D0 #C576DC

Accessibility & contrast

On white

6.72
#8F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2CAC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CAC#FFFFFF#000000##FFFFFF
##8F2CAC1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#8E476A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2cac;
/* rgb */ color: rgb(143, 44, 172);
/* oklch */ color: oklch(50.0% 0.202 317.3);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#8f2cac',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cac;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cac",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 286.406,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.2015,
    "h": 317.3
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#8F2CAC
secondary
#83C470
accent
#E24569
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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