#8F1585#8F1585

#8F1585 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.192 H 332.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8F1585
RGBrgb(143, 21, 133)
HSLhsl(305, 74%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 85.3%, 7%, 43.9%)
CIE-LABlab(34.13, 59.02, -32.52)
CIE-LCHlch(34.13, 67.39, 331.14°)
OKLaboklab(45.78% 0.1696 -0.0896)
OKLCHoklch(45.78% 0.192 332.1)
XYZxyz(15.8296, 8.0708, 22.9099)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1585 #158F1F
analogous
#5C158F #8F1585 #8F1548
triadic
#8F1585 #858F15 #15858F
tetradic
#8F1585 #8F5C15 #158F1F #15488F
square
#8F1585 #8F5C15 #158F1F #15488F
split-complementary
#8F1585 #488F15 #158F5C
monochromatic
#240522 #5A0D53 #8F1585 #C41DB7 #E23CD5

Accessibility & contrast

On white

8.03
#8F1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1585
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1585#FFFFFF#000000##FFFFFF
##8F15851.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#95274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1585;
/* rgb */ color: rgb(143, 21, 133);
/* oklch */ color: oklch(45.8% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#b465a9',
    500: '#8f1585',
    950: '#000000',
  },
}
SCSS
$custom: #8f1585;
$custom-light: #b465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1585",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 304.918,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.19184,
    "h": 332.1
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#8F1585
secondary
#3EC249
accent
#F14637
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1585

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

Preview Lab → · Contrast checker → · Palette generator →

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