#8F1584#8F1584

#8F1584 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.191 H 332.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F1584
RGBrgb(143, 21, 132)
HSLhsl(305, 74%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 85.3%, 7.7%, 43.9%)
CIE-LABlab(34.07, 58.86, -31.99)
CIE-LCHlch(34.07, 67.00, 331.48°)
OKLaboklab(45.72% 0.1696 -0.0881)
OKLCHoklch(45.72% 0.191 332.5)
XYZxyz(15.7608, 8.0433, 22.5478)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1584 #158F20
analogous
#5D158F #8F1584 #8F1547
triadic
#8F1584 #848F15 #15848F
tetradic
#8F1584 #8F5D15 #158F20 #15478F
square
#8F1584 #8F5D15 #158F20 #15478F
split-complementary
#8F1584 #478F15 #158F5D
monochromatic
#240521 #5A0D53 #8F1584 #C41DB5 #E23CD3

Accessibility & contrast

On white

8.05
#8F1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1584
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1584#FFFFFF#000000##FFFFFF
##8F15841.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#96264E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1584;
/* rgb */ color: rgb(143, 21, 132);
/* oklch */ color: oklch(45.7% 0.191 332.5);
Tailwind
colors: {
  custom: {
    50: '#b465a8',
    500: '#8f1584',
    950: '#000000',
  },
}
SCSS
$custom: #8f1584;
$custom-light: #b465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1584",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 305.41,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.19113,
    "h": 332.5
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#8F1584
secondary
#3EC24A
accent
#F14837
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1584

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

Preview Lab → · Contrast checker → · Palette generator →

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