#8F1F85#8F1F85

#8F1F85 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.183 H 332.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F1F85
RGBrgb(143, 31, 133)
HSLhsl(305, 64%, 34%)
HSVhsv(305, 78%, 56%)
CMYKcmyk(0%, 78.3%, 7%, 43.9%)
CIE-LABlab(35.03, 56.41, -31.10)
CIE-LCHlch(35.03, 64.41, 331.13°)
OKLaboklab(46.43% 0.162 -0.0856)
OKLCHoklch(46.43% 0.183 332.2)
XYZxyz(16.0514, 8.5144, 22.9838)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F85 #1F8F29
analogous
#611F8F #8F1F85 #8F1F4D
triadic
#8F1F85 #858F1F #1F858F
tetradic
#8F1F85 #8F611F #1F8F29 #1F4D8F
square
#8F1F85 #8F611F #1F8F29 #1F4D8F
split-complementary
#8F1F85 #4D8F1F #1F8F61
monochromatic
#2A0927 #5D1456 #8F1F85 #C12AB4 #D94FCD

Accessibility & contrast

On white

7.77
#8F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F85
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F85#FFFFFF#000000##FFFFFF
##8F1F851.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164888
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#952D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1f85;
/* rgb */ color: rgb(143, 31, 133);
/* oklch */ color: oklch(46.4% 0.183 332.2);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8f1f85',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f85;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f85",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 305.357,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.18322,
    "h": 332.2
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#8F1F85
secondary
#4EBC58
accent
#E74F40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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