#8F2AB6#8F2AB6

#8F2AB6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.212 H 314.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB6
RGBrgb(143, 42, 182)
HSLhsl(283, 63%, 44%)
HSVhsv(283, 77%, 71%)
CMYKcmyk(21.4%, 76.9%, 0%, 28.6%)
CIE-LABlab(39.37, 61.68, -53.80)
CIE-LCHlch(39.37, 81.85, 318.90°)
OKLaboklab(50.49% 0.1485 -0.1519)
OKLCHoklch(50.49% 0.212 314.3)
XYZxyz(20.5977, 10.8737, 45.2607)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB6 #51B62A
analogous
#492AB6 #8F2AB6 #B62A97
triadic
#8F2AB6 #B68F2A #2AB68F
tetradic
#8F2AB6 #B6492A #51B62A #2A97B6
square
#8F2AB6 #B6492A #51B62A #2A97B6
split-complementary
#8F2AB6 #97B62A #2AB649
monochromatic
#411353 #681F84 #8F2AB6 #AE48D5 #C47AE0

Accessibility & contrast

On white

6.62
#8F2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8F2AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB6#FFFFFF#000000##FFFFFF
##8F2AB61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#205FB3
Tritanopia (blue-blind)
#8B4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2ab6;
/* rgb */ color: rgb(143, 42, 182);
/* oklch */ color: oklch(50.5% 0.212 314.3);
Tailwind
colors: {
  custom: {
    50: '#b46fcd',
    500: '#8f2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab6;
$custom-light: #b46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab6",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 283.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.21249,
    "h": 314.3
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#8F2AB6
secondary
#8BC873
accent
#E64270
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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