#8F2D80#8F2D80

#8F2D80 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.163 H 334.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F2D80
RGBrgb(143, 45, 128)
HSLhsl(309, 52%, 37%)
HSVhsv(309, 69%, 56%)
CMYKcmyk(0%, 68.5%, 10.5%, 43.9%)
CIE-LABlab(36.51, 50.67, -25.67)
CIE-LCHlch(36.51, 56.80, 333.13°)
OKLaboklab(47.41% 0.1472 -0.0701)
OKLCHoklch(47.41% 0.163 334.5)
XYZxyz(16.1625, 9.2763, 21.3571)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D80 #2D8F3C
analogous
#6D2D8F #8F2D80 #8F2D4F
triadic
#8F2D80 #808F2D #2D808F
tetradic
#8F2D80 #8F6D2D #2D8F3C #2D4F8F
square
#8F2D80 #8F6D2D #2D8F3C #2D4F8F
split-complementary
#8F2D80 #4F8F2D #2D8F6D
monochromatic
#32102D #601E56 #8F2D80 #BE3CAA #CF67BF

Accessibility & contrast

On white

7.36
#8F2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D80
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D80#FFFFFF#000000##FFFFFF
##8F2D801.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#963452
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d80;
/* rgb */ color: rgb(143, 45, 128);
/* oklch */ color: oklch(47.4% 0.163 334.5);
Tailwind
colors: {
  custom: {
    50: '#b36ea5',
    500: '#8f2d80',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d80;
$custom-light: #b36ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d80",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 309.184,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.16302,
    "h": 334.5
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#8F2D80
secondary
#62B66F
accent
#DC624C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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