#8F2AAC#8F2AAC

#8F2AAC is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 317.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8F2AAC
RGBrgb(143, 42, 172)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 76%, 67%)
CMYKcmyk(16.9%, 75.6%, 0%, 32.5%)
CIE-LABlab(38.68, 59.71, -48.97)
CIE-LCHlch(38.68, 77.22, 320.64°)
OKLaboklab(49.79% 0.15 -0.1378)
OKLCHoklch(49.79% 0.204 317.4)
XYZxyz(19.6010, 10.4750, 40.0111)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AAC #47AC2A
analogous
#4E2AAC #8F2AAC #AC2A88
triadic
#8F2AAC #AC8F2A #2AAC8F
tetradic
#8F2AAC #AC4E2A #47AC2A #2A88AC
square
#8F2AAC #AC4E2A #47AC2A #2A88AC
split-complementary
#8F2AAC #88AC2A #2AAC4E
monochromatic
#3D124A #661E7B #8F2AAC #B142D1 #C573DD

Accessibility & contrast

On white

6.79
#8F2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F2AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AAC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AAC#FFFFFF#000000##FFFFFF
##8F2AAC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#8E4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2aac;
/* rgb */ color: rgb(143, 42, 172);
/* oklch */ color: oklch(49.8% 0.204 317.4);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#8f2aac',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aac;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aac",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 286.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.20366,
    "h": 317.4
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#8F2AAC
secondary
#81C46D
accent
#E44468
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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