#8F2087#8F2087

#8F2087 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.184 H 331.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8F2087
RGBrgb(143, 32, 135)
HSLhsl(304, 63%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 77.6%, 5.6%, 43.9%)
CIE-LABlab(35.25, 56.42, -31.99)
CIE-LCHlch(35.25, 64.86, 330.44°)
OKLaboklab(46.62% 0.1612 -0.0882)
OKLCHoklch(46.62% 0.184 331.3)
XYZxyz(16.2174, 8.6233, 23.7273)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2087 #208F28
analogous
#60208F #8F2087 #8F2050
triadic
#8F2087 #878F20 #20878F
tetradic
#8F2087 #8F6020 #208F28 #20508F
square
#8F2087 #8F6020 #208F28 #20508F
split-complementary
#8F2087 #508F20 #208F60
monochromatic
#2B0A29 #5D1558 #8F2087 #C12BB6 #D851CE

Accessibility & contrast

On white

7.71
#8F2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2087
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2087#FFFFFF#000000##FFFFFF
##8F20871.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#952E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2087;
/* rgb */ color: rgb(143, 32, 135);
/* oklch */ color: oklch(46.6% 0.184 331.3);
Tailwind
colors: {
  custom: {
    50: '#b369aa',
    500: '#8f2087',
    950: '#000000',
  },
}
SCSS
$custom: #8f2087;
$custom-light: #b369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2087",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 304.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.18372,
    "h": 331.3
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#8F2087
secondary
#4FBB57
accent
#E64D41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2087

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

Preview Lab → · Contrast checker → · Palette generator →

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