#8F2AAB#8F2AAB

#8F2AAB is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 317.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2AAB
RGBrgb(143, 42, 171)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(16.4%, 75.4%, 0%, 32.9%)
CIE-LABlab(38.62, 59.51, -48.49)
CIE-LCHlch(38.62, 76.76, 320.83°)
OKLaboklab(49.72% 0.1501 -0.1363)
OKLCHoklch(49.72% 0.203 317.8)
XYZxyz(19.5053, 10.4367, 39.5072)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AAB #46AB2A
analogous
#4F2AAB #8F2AAB #AB2A87
triadic
#8F2AAB #AB8F2A #2AAB8F
tetradic
#8F2AAB #AB4F2A #46AB2A #2A87AB
square
#8F2AAB #AB4F2A #46AB2A #2A87AB
split-complementary
#8F2AAB #87AB2A #2AAB4F
monochromatic
#3D1249 #661E7A #8F2AAB #B242D1 #C673DD

Accessibility & contrast

On white

6.80
#8F2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2AAB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AAB#FFFFFF#000000##FFFFFF
##8F2AAB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#8E4569
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2aab;
/* rgb */ color: rgb(143, 42, 171);
/* oklch */ color: oklch(49.7% 0.203 317.8);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#8f2aab',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aab;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aab",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 286.977,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.20279,
    "h": 317.8
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#8F2AAB
secondary
#80C46D
accent
#E44467
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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