#8F2D82#8F2D82

#8F2D82 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 333.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F2D82
RGBrgb(143, 45, 130)
HSLhsl(308, 52%, 37%)
HSVhsv(308, 69%, 56%)
CMYKcmyk(0%, 68.5%, 9.1%, 43.9%)
CIE-LABlab(36.61, 50.99, -26.75)
CIE-LCHlch(36.61, 57.59, 332.32°)
OKLaboklab(47.51% 0.1474 -0.0732)
OKLCHoklch(47.51% 0.165 333.6)
XYZxyz(16.2954, 9.3294, 22.0573)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D82 #2D8F3A
analogous
#6B2D8F #8F2D82 #8F2D51
triadic
#8F2D82 #828F2D #2D828F
tetradic
#8F2D82 #8F6B2D #2D8F3A #2D518F
square
#8F2D82 #8F6B2D #2D8F3A #2D518F
split-complementary
#8F2D82 #518F2D #2D8F6B
monochromatic
#32102D #601E58 #8F2D82 #BE3CAC #CF67C1

Accessibility & contrast

On white

7.33
#8F2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D82
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D82#FFFFFF#000000##FFFFFF
##8F2D821.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#963553
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d82;
/* rgb */ color: rgb(143, 45, 130);
/* oklch */ color: oklch(47.5% 0.165 333.6);
Tailwind
colors: {
  custom: {
    50: '#b36ea6',
    500: '#8f2d82',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d82;
$custom-light: #b36ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d82",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 307.959,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.16458,
    "h": 333.6
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#8F2D82
secondary
#62B66D
accent
#DC5F4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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