#8F2BA1#8F2BA1

#8F2BA1 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.193 H 321.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2BA1
RGBrgb(143, 43, 161)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 73%, 63%)
CMYKcmyk(11.2%, 73.3%, 0%, 36.9%)
CIE-LABlab(38.10, 57.24, -43.33)
CIE-LCHlch(38.10, 71.79, 322.88°)
OKLaboklab(49.15% 0.1501 -0.1212)
OKLCHoklch(49.15% 0.193 321.1)
XYZxyz(18.6239, 10.1416, 34.6878)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BA1 #3DA12B
analogous
#542BA1 #8F2BA1 #A12B78
triadic
#8F2BA1 #A18F2B #2BA18F
tetradic
#8F2BA1 #A1542B #3DA12B #2B78A1
square
#8F2BA1 #A1542B #3DA12B #2B78A1
split-complementary
#8F2BA1 #78A12B #2BA154
monochromatic
#391140 #641E71 #8F2BA1 #B63ECB #C86ED8

Accessibility & contrast

On white

6.93
#8F2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F2BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BA1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BA1#FFFFFF#000000##FFFFFF
##8F2BA11.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#904164
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ba1;
/* rgb */ color: rgb(143, 43, 161);
/* oklch */ color: oklch(49.1% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#b36fbd',
    500: '#8f2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ba1;
$custom-light: #b36fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ba1",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 290.847,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.19295,
    "h": 321.1
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#8F2BA1
secondary
#76BF69
accent
#E1475E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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