#8F1B9E#8F1B9E

#8F1B9E is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.206 H 322.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F1B9E
RGBrgb(143, 27, 158)
HSLhsl(293, 71%, 36%)
HSVhsv(293, 83%, 62%)
CMYKcmyk(9.5%, 82.9%, 0%, 38%)
CIE-LABlab(36.16, 61.71, -44.62)
CIE-LCHlch(36.16, 76.15, 324.13°)
OKLaboklab(47.71% 0.1639 -0.1249)
OKLCHoklch(47.71% 0.206 322.7)
XYZxyz(17.8906, 9.0932, 33.1540)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B9E #2A9E1B
analogous
#4E1B9E #8F1B9E #9E1B6C
triadic
#8F1B9E #9E8F1B #1B9E8F
tetradic
#8F1B9E #9E4E1B #2A9E1B #1B6C9E
square
#8F1B9E #9E4E1B #2A9E1B #1B6C9E
split-complementary
#8F1B9E #6C9E1B #1B9E4E
monochromatic
#300935 #60126A #8F1B9E #BE24D2 #D152E1

Accessibility & contrast

On white

7.45
#8F1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F1B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B9E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B9E#FFFFFF#000000##FFFFFF
##8F1B9E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#91385E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1b9e;
/* rgb */ color: rgb(143, 27, 158);
/* oklch */ color: oklch(47.7% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#b468bb',
    500: '#8f1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b9e;
$custom-light: #b468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b9e",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 293.13,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.20604,
    "h": 322.7
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#8F1B9E
secondary
#5EC451
accent
#EE3A4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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