#8F1C85#8F1C85

#8F1C85 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.186 H 332.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F1C85
RGBrgb(143, 28, 133)
HSLhsl(305, 67%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 80.4%, 7%, 43.9%)
CIE-LABlab(34.73, 57.27, -31.57)
CIE-LCHlch(34.73, 65.40, 331.13°)
OKLaboklab(46.21% 0.1645 -0.0869)
OKLCHoklch(46.21% 0.186 332.1)
XYZxyz(15.9766, 8.3650, 22.9589)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C85 #1C8F26
analogous
#5F1C8F #8F1C85 #8F1C4B
triadic
#8F1C85 #858F1C #1C858F
tetradic
#8F1C85 #8F5F1C #1C8F26 #1C4B8F
square
#8F1C85 #8F5F1C #1C8F26 #1C4B8F
split-complementary
#8F1C85 #4B8F1C #1C8F5F
monochromatic
#290826 #5C1255 #8F1C85 #C226B5 #DC4ACF

Accessibility & contrast

On white

7.86
#8F1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C85
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C85#FFFFFF#000000##FFFFFF
##8F1C851.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#952B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1c85;
/* rgb */ color: rgb(143, 28, 133);
/* oklch */ color: oklch(46.2% 0.186 332.1);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8f1c85',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c85;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c85",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 305.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.18607,
    "h": 332.1
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#8F1C85
secondary
#49BE53
accent
#EA4D3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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