#8F1C91#8F1C91

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

Color values

HEX#8F1C91
RGBrgb(143, 28, 145)
HSLhsl(299, 68%, 34%)
HSVhsv(299, 81%, 57%)
CMYKcmyk(1.4%, 80.7%, 0%, 43.1%)
CIE-LABlab(35.43, 59.22, -37.87)
CIE-LCHlch(35.43, 70.29, 327.40°)
OKLaboklab(46.93% 0.1643 -0.1052)
OKLCHoklch(46.93% 0.195 327.4)
XYZxyz(16.8535, 8.7157, 27.5772)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C91 #1E911C
analogous
#551C91 #8F1C91 #911C59
triadic
#8F1C91 #918F1C #1C918F
tetradic
#8F1C91 #91551C #1E911C #1C5991
square
#8F1C91 #91551C #1E911C #1C5991
split-complementary
#8F1C91 #59911C #1C9155
monochromatic
#2A082A #5C125E #8F1C91 #C226C4 #DA4BDC

Accessibility & contrast

On white

7.66
#8F1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C91
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C91#FFFFFF#000000##FFFFFF
##8F1C911.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1c91;
/* rgb */ color: rgb(143, 28, 145);
/* oklch */ color: oklch(46.9% 0.195 327.4);
Tailwind
colors: {
  custom: {
    50: '#b468b2',
    500: '#8f1c91',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c91;
$custom-light: #b468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c91",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 298.974,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.19509,
    "h": 327.4
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#8F1C91
secondary
#4CBE4A
accent
#EB3D40
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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