#8F2D83#8F2D83

#8F2D83 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.165 H 333.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8F2D83
RGBrgb(143, 45, 131)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 69%, 56%)
CMYKcmyk(0%, 68.5%, 8.4%, 43.9%)
CIE-LABlab(36.66, 51.16, -27.29)
CIE-LCHlch(36.66, 57.98, 331.92°)
OKLaboklab(47.56% 0.1475 -0.0747)
OKLCHoklch(47.56% 0.165 333.1)
XYZxyz(16.3629, 9.3564, 22.4125)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D83 #2D8F39
analogous
#6A2D8F #8F2D83 #8F2D52
triadic
#8F2D83 #838F2D #2D838F
tetradic
#8F2D83 #8F6A2D #2D8F39 #2D528F
square
#8F2D83 #8F6A2D #2D8F39 #2D528F
split-complementary
#8F2D83 #528F2D #2D8F6A
monochromatic
#32102E #601E58 #8F2D83 #BE3CAE #CF67C2

Accessibility & contrast

On white

7.31
#8F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2D83
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D83#FFFFFF#000000##FFFFFF
##8F2D831.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#4C5B81
Tritanopia (blue-blind)
#953654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d83;
/* rgb */ color: rgb(143, 45, 131);
/* oklch */ color: oklch(47.6% 0.165 333.1);
Tailwind
colors: {
  custom: {
    50: '#b36ea7',
    500: '#8f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d83;
$custom-light: #b36ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d83",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 307.347,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.16537,
    "h": 333.1
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#8F2D83
secondary
#62B66C
accent
#DC5E4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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