#8F2E87#8F2E87

#8F2E87 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.167 H 331.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F2E87
RGBrgb(143, 46, 135)
HSLhsl(305, 51%, 37%)
HSVhsv(305, 68%, 56%)
CMYKcmyk(0%, 67.8%, 5.6%, 43.9%)
CIE-LABlab(37.01, 51.42, -29.21)
CIE-LCHlch(37.01, 59.14, 330.40°)
OKLaboklab(47.89% 0.1467 -0.0803)
OKLCHoklch(47.89% 0.167 331.3)
XYZxyz(16.6778, 9.5442, 23.8808)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E87 #2E8F36
analogous
#662E8F #8F2E87 #8F2E57
triadic
#8F2E87 #878F2E #2E878F
tetradic
#8F2E87 #8F662E #2E8F36 #2E578F
square
#8F2E87 #8F662E #2E8F36 #2E578F
split-complementary
#8F2E87 #578F2E #2E8F66
monochromatic
#321030 #611F5B #8F2E87 #BD3DB3 #CF69C6

Accessibility & contrast

On white

7.22
#8F2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2E87
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E87#FFFFFF#000000##FFFFFF
##8F2E871.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E8A
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#953856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e87;
/* rgb */ color: rgb(143, 46, 135);
/* oklch */ color: oklch(47.9% 0.167 331.3);
Tailwind
colors: {
  custom: {
    50: '#b36faa',
    500: '#8f2e87',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e87;
$custom-light: #b36faa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e87",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 304.948,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.16723,
    "h": 331.3
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#8F2E87
secondary
#63B66A
accent
#DB594D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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