#8F2C81#8F2C81

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

Color values

HEX#8F2C81
RGBrgb(143, 44, 129)
HSLhsl(308, 53%, 37%)
HSVhsv(308, 69%, 56%)
CMYKcmyk(0%, 69.2%, 9.8%, 43.9%)
CIE-LABlab(36.42, 51.23, -26.43)
CIE-LCHlch(36.42, 57.65, 332.71°)
OKLaboklab(47.36% 0.1485 -0.0723)
OKLCHoklch(47.36% 0.165 334)
XYZxyz(16.1909, 9.2273, 21.6929)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C81 #2C8F3A
analogous
#6C2C8F #8F2C81 #8F2C50
triadic
#8F2C81 #818F2C #2C818F
tetradic
#8F2C81 #8F6C2C #2C8F3A #2C508F
square
#8F2C81 #8F6C2C #2C8F3A #2C508F
split-complementary
#8F2C81 #508F2C #2C8F6C
monochromatic
#310F2D #601E57 #8F2C81 #BE3AAB #D066C1

Accessibility & contrast

On white

7.38
#8F2C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2C81
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C81#FFFFFF#000000##FFFFFF
##8F2C811.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2c81;
/* rgb */ color: rgb(143, 44, 129);
/* oklch */ color: oklch(47.4% 0.165 334.0);
Tailwind
colors: {
  custom: {
    50: '#b36ea6',
    500: '#8f2c81',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c81;
$custom-light: #b36ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c81",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 308.485,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47355,
    "c": 0.16512,
    "h": 334
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#8F2C81
secondary
#61B66D
accent
#DC604B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2C81

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

Preview Lab → · Contrast checker → · Palette generator →

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