#8F2BAC#8F2BAC

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

Color values

HEX#8F2BAC
RGBrgb(143, 43, 172)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(16.9%, 75%, 0%, 32.5%)
CIE-LABlab(38.81, 59.35, -48.77)
CIE-LCHlch(38.81, 76.82, 320.59°)
OKLaboklab(49.88% 0.1491 -0.1372)
OKLCHoklch(49.88% 0.203 317.4)
XYZxyz(19.6369, 10.5468, 40.0231)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BAC #48AC2B
analogous
#4F2BAC #8F2BAC #AC2B88
triadic
#8F2BAC #AC8F2B #2BAC8F
tetradic
#8F2BAC #AC4F2B #48AC2B #2B88AC
square
#8F2BAC #AC4F2B #48AC2B #2B88AC
split-complementary
#8F2BAC #88AC2B #2BAC4F
monochromatic
#3E134A #661F7B #8F2BAC #B144D0 #C575DC

Accessibility & contrast

On white

6.75
#8F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F2BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BAC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BAC#FFFFFF#000000##FFFFFF
##8F2BAC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2bac;
/* rgb */ color: rgb(143, 43, 172);
/* oklch */ color: oklch(49.9% 0.203 317.4);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#8f2bac',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bac;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bac",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 286.512,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.20259,
    "h": 317.4
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#8F2BAC
secondary
#82C46F
accent
#E34568
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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