#8F2A86#8F2A86

#8F2A86 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.172 H 331.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8F2A86
RGBrgb(143, 42, 134)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 56%)
CMYKcmyk(0%, 70.6%, 6.3%, 43.9%)
CIE-LABlab(36.40, 52.82, -29.56)
CIE-LCHlch(36.40, 60.53, 330.77°)
OKLaboklab(47.43% 0.1512 -0.0812)
OKLCHoklch(47.43% 0.172 331.8)
XYZxyz(16.4587, 9.2181, 23.4620)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A86 #2A8F33
analogous
#662A8F #8F2A86 #8F2A54
triadic
#8F2A86 #868F2A #2A868F
tetradic
#8F2A86 #8F662A #2A8F33 #2A548F
square
#8F2A86 #8F662A #2A8F33 #2A548F
split-complementary
#8F2A86 #548F2A #2A8F66
monochromatic
#300E2D #601C5A #8F2A86 #BE38B2 #D162C7

Accessibility & contrast

On white

7.39
#8F2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A86
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A86#FFFFFF#000000##FFFFFF
##8F2A861.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#495B83
Tritanopia (blue-blind)
#953555
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2a86;
/* rgb */ color: rgb(143, 42, 134);
/* oklch */ color: oklch(47.4% 0.172 331.8);
Tailwind
colors: {
  custom: {
    50: '#b36da9',
    500: '#8f2a86',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a86;
$custom-light: #b36da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a86",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 305.347,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.17162,
    "h": 331.8
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#8F2A86
secondary
#5EB766
accent
#DE574A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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