#8F2B87#8F2B87

#8F2B87 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.171 H 331.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F2B87
RGBrgb(143, 43, 135)
HSLhsl(305, 54%, 36%)
HSVhsv(305, 70%, 56%)
CMYKcmyk(0%, 69.9%, 5.6%, 43.9%)
CIE-LABlab(36.59, 52.61, -29.88)
CIE-LCHlch(36.59, 60.50, 330.41°)
OKLaboklab(47.58% 0.1501 -0.0821)
OKLCHoklch(47.58% 0.171 331.3)
XYZxyz(16.5647, 9.3179, 23.8431)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B87 #2B8F33
analogous
#652B8F #8F2B87 #8F2B55
triadic
#8F2B87 #878F2B #2B878F
tetradic
#8F2B87 #8F652B #2B8F33 #2B558F
square
#8F2B87 #8F652B #2B8F33 #2B558F
split-complementary
#8F2B87 #558F2B #2B8F65
monochromatic
#310F2E #601D5B #8F2B87 #BE39B3 #D064C8

Accessibility & contrast

On white

7.33
#8F2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B87
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B87#FFFFFF#000000##FFFFFF
##8F2B871.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#953655
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2b87;
/* rgb */ color: rgb(143, 43, 135);
/* oklch */ color: oklch(47.6% 0.171 331.3);
Tailwind
colors: {
  custom: {
    50: '#b36eaa',
    500: '#8f2b87',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b87;
$custom-light: #b36eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b87",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 304.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.17115,
    "h": 331.3
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#8F2B87
secondary
#5FB766
accent
#DD564B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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