#8F2A82#8F2A82

#8F2A82 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 333.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2A82
RGBrgb(143, 42, 130)
HSLhsl(308, 55%, 36%)
HSVhsv(308, 71%, 56%)
CMYKcmyk(0%, 70.6%, 9.1%, 43.9%)
CIE-LABlab(36.19, 52.17, -27.41)
CIE-LCHlch(36.19, 58.93, 332.28°)
OKLaboklab(47.21% 0.1509 -0.075)
OKLCHoklch(47.21% 0.168 333.6)
XYZxyz(16.1850, 9.1086, 22.0205)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A82 #2A8F37
analogous
#6A2A8F #8F2A82 #8F2A50
triadic
#8F2A82 #828F2A #2A828F
tetradic
#8F2A82 #8F6A2A #2A8F37 #2A508F
square
#8F2A82 #8F6A2A #2A8F37 #2A508F
split-complementary
#8F2A82 #508F2A #2A8F6A
monochromatic
#300E2C #601C57 #8F2A82 #BE38AD #D162C3

Accessibility & contrast

On white

7.44
#8F2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A82
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A82#FFFFFF#000000##FFFFFF
##8F2A821.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#4B5A7F
Tritanopia (blue-blind)
#963352
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2a82;
/* rgb */ color: rgb(143, 42, 130);
/* oklch */ color: oklch(47.2% 0.168 333.6);
Tailwind
colors: {
  custom: {
    50: '#b36da6',
    500: '#8f2a82',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a82;
$custom-light: #b36da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a82",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 307.723,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.16848,
    "h": 333.6
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#8F2A82
secondary
#5EB769
accent
#DE5D4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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