#8F2F85#8F2F85

#8F2F85 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.164 H 332.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F2F85
RGBrgb(143, 47, 133)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 67%, 56%)
CMYKcmyk(0%, 67.1%, 7%, 43.9%)
CIE-LABlab(37.05, 50.68, -27.91)
CIE-LCHlch(37.05, 57.86, 331.16°)
OKLaboklab(47.88% 0.1454 -0.0765)
OKLCHoklch(47.88% 0.164 332.2)
XYZxyz(16.5779, 9.5674, 23.1593)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F85 #2F8F39
analogous
#692F8F #8F2F85 #8F2F55
triadic
#8F2F85 #858F2F #2F858F
tetradic
#8F2F85 #8F692F #2F8F39 #2F558F
square
#8F2F85 #8F692F #2F8F39 #2F558F
split-complementary
#8F2F85 #558F2F #2F8F69
monochromatic
#33112F #61205A #8F2F85 #BD3EB0 #CE6AC4

Accessibility & contrast

On white

7.21
#8F2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2F85
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F85#FFFFFF#000000##FFFFFF
##8F2F851.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E88
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#953856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2f85;
/* rgb */ color: rgb(143, 47, 133);
/* oklch */ color: oklch(47.9% 0.164 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36fa9',
    500: '#8f2f85',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f85;
$custom-light: #b36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f85",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 306.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.16426,
    "h": 332.2
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#8F2F85
secondary
#65B56D
accent
#DA5C4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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