#8F1D91#8F1D91

#8F1D91 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.194 H 327.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F1D91
RGBrgb(143, 29, 145)
HSLhsl(299, 67%, 34%)
HSVhsv(299, 80%, 57%)
CMYKcmyk(1.4%, 80%, 0%, 43.1%)
CIE-LABlab(35.53, 58.94, -37.71)
CIE-LCHlch(35.53, 69.97, 327.39°)
OKLaboklab(47% 0.1635 -0.1048)
OKLCHoklch(47% 0.194 327.4)
XYZxyz(16.8776, 8.7639, 27.5852)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D91 #1F911D
analogous
#551D91 #8F1D91 #911D59
triadic
#8F1D91 #918F1D #1D918F
tetradic
#8F1D91 #91551D #1F911D #1D5991
square
#8F1D91 #91551D #1F911D #1D5991
split-complementary
#8F1D91 #59911D #1D9155
monochromatic
#2A092B #5D135E #8F1D91 #C127C4 #D94DDB

Accessibility & contrast

On white

7.63
#8F1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D91
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D91#FFFFFF#000000##FFFFFF
##8F1D911.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1d91;
/* rgb */ color: rgb(143, 29, 145);
/* oklch */ color: oklch(47.0% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#b468b2',
    500: '#8f1d91',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d91;
$custom-light: #b468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d91",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 298.966,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.19421,
    "h": 327.4
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#8F1D91
secondary
#4EBE4C
accent
#EA3E41
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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