#8F2E84#8F2E84

#8F2E84 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.165 H 332.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8F2E84
RGBrgb(143, 46, 132)
HSLhsl(307, 51%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 67.8%, 7.7%, 43.9%)
CIE-LABlab(36.86, 50.92, -27.60)
CIE-LCHlch(36.86, 57.92, 331.54°)
OKLaboklab(47.72% 0.1464 -0.0756)
OKLCHoklch(47.72% 0.165 332.7)
XYZxyz(16.4696, 9.4609, 22.7840)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E84 #2E8F39
analogous
#6A2E8F #8F2E84 #8F2E54
triadic
#8F2E84 #848F2E #2E848F
tetradic
#8F2E84 #8F6A2E #2E8F39 #2E548F
square
#8F2E84 #8F6A2E #2E8F39 #2E548F
split-complementary
#8F2E84 #548F2E #2E8F6A
monochromatic
#32102F #611F59 #8F2E84 #BD3DAF #CF69C3

Accessibility & contrast

On white

7.26
#8F2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E84
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E84#FFFFFF#000000##FFFFFF
##8F2E841.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#953755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e84;
/* rgb */ color: rgb(143, 46, 132);
/* oklch */ color: oklch(47.7% 0.165 332.7);
Tailwind
colors: {
  custom: {
    50: '#b36fa8',
    500: '#8f2e84',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e84;
$custom-light: #b36fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e84",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 306.804,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.16482,
    "h": 332.7
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#8F2E84
secondary
#63B66D
accent
#DB5D4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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