#8F1B7E#8F1B7E

#8F1B7E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 335.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1B7E
RGBrgb(143, 27, 126)
HSLhsl(309, 68%, 33%)
HSVhsv(309, 81%, 56%)
CMYKcmyk(0%, 81.1%, 11.9%, 43.9%)
CIE-LABlab(34.25, 56.47, -27.96)
CIE-LCHlch(34.25, 63.01, 333.66°)
OKLaboklab(45.75% 0.1651 -0.0765)
OKLCHoklch(45.75% 0.182 335.1)
XYZxyz(15.4857, 8.1313, 20.4885)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B7E #1B8F2C
analogous
#661B8F #8F1B7E #8F1B44
triadic
#8F1B7E #7E8F1B #1B7E8F
tetradic
#8F1B7E #8F661B #1B8F2C #1B448F
square
#8F1B7E #8F661B #1B8F2C #1B448F
split-complementary
#8F1B7E #448F1B #1B8F66
monochromatic
#280823 #5C1151 #8F1B7E #C225AB #DC48C7

Accessibility & contrast

On white

8.00
#8F1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B7E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B7E#FFFFFF#000000##FFFFFF
##8F1B7E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#47577B
Tritanopia (blue-blind)
#96264C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1b7e;
/* rgb */ color: rgb(143, 27, 126);
/* oklch */ color: oklch(45.7% 0.182 335.1);
Tailwind
colors: {
  custom: {
    50: '#b467a4',
    500: '#8f1b7e',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b7e;
$custom-light: #b467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b7e",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 308.793,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.18194,
    "h": 335.1
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#8F1B7E
secondary
#48BE59
accent
#EB563D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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