#8F1B91#8F1B91

#8F1B91 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.196 H 327.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8F1B91
RGBrgb(143, 27, 145)
HSLhsl(299, 69%, 34%)
HSVhsv(299, 81%, 57%)
CMYKcmyk(1.4%, 81.4%, 0%, 43.1%)
CIE-LABlab(35.34, 59.48, -38.01)
CIE-LCHlch(35.34, 70.59, 327.42°)
OKLaboklab(46.87% 0.1651 -0.1056)
OKLCHoklch(46.87% 0.196 327.4)
XYZxyz(16.8302, 8.6691, 27.5694)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B91 #1D911B
analogous
#541B91 #8F1B91 #911B58
triadic
#8F1B91 #918F1B #1B918F
tetradic
#8F1B91 #91541B #1D911B #1B5891
square
#8F1B91 #91541B #1D911B #1B5891
split-complementary
#8F1B91 #58911B #1B9154
monochromatic
#29082A #5C115D #8F1B91 #C225C5 #DB49DD

Accessibility & contrast

On white

7.68
#8F1B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F1B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B91
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B91#FFFFFF#000000##FFFFFF
##8F1B911.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#933157
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1b91;
/* rgb */ color: rgb(143, 27, 145);
/* oklch */ color: oklch(46.9% 0.196 327.4);
Tailwind
colors: {
  custom: {
    50: '#b468b2',
    500: '#8f1b91',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b91;
$custom-light: #b468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b91",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 298.983,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.19595,
    "h": 327.4
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#8F1B91
secondary
#4BBF49
accent
#EB3C3F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1B91

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

Preview Lab → · Contrast checker → · Palette generator →

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