#8F1583#8F1583

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

Color values

HEX#8F1583
RGBrgb(143, 21, 131)
HSLhsl(306, 74%, 32%)
HSVhsv(306, 85%, 56%)
CMYKcmyk(0%, 85.3%, 8.4%, 43.9%)
CIE-LABlab(34.02, 58.71, -31.46)
CIE-LCHlch(34.02, 66.61, 331.82°)
OKLaboklab(45.66% 0.1696 -0.0866)
OKLCHoklch(45.66% 0.19 333)
XYZxyz(15.6927, 8.0161, 22.1891)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1583 #158F21
analogous
#5E158F #8F1583 #8F1546
triadic
#8F1583 #838F15 #15838F
tetradic
#8F1583 #8F5E15 #158F21 #15468F
square
#8F1583 #8F5E15 #158F21 #15468F
split-complementary
#8F1583 #468F15 #158F5E
monochromatic
#240521 #5A0D52 #8F1583 #C41DB4 #E23CD2

Accessibility & contrast

On white

8.07
#8F1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1583
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1583#FFFFFF#000000##FFFFFF
##8F15831.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4586
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#96264E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1583;
/* rgb */ color: rgb(143, 21, 131);
/* oklch */ color: oklch(45.7% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#b465a7',
    500: '#8f1583',
    950: '#000000',
  },
}
SCSS
$custom: #8f1583;
$custom-light: #b465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1583",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 305.902,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.19042,
    "h": 333
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#8F1583
secondary
#3EC24B
accent
#F14937
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1583

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

Preview Lab → · Contrast checker → · Palette generator →

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