#8F2B7F#8F2B7F

#8F2B7F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 335.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2B7F
RGBrgb(143, 43, 127)
HSLhsl(310, 54%, 36%)
HSVhsv(310, 70%, 56%)
CMYKcmyk(0%, 69.9%, 11.2%, 43.9%)
CIE-LABlab(36.18, 51.30, -25.57)
CIE-LCHlch(36.18, 57.32, 333.51°)
OKLaboklab(47.15% 0.1494 -0.0698)
OKLCHoklch(47.15% 0.165 335)
XYZxyz(16.0225, 9.1011, 20.9874)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B7F #2B8F3B
analogous
#6D2B8F #8F2B7F #8F2B4D
triadic
#8F2B7F #7F8F2B #2B7F8F
tetradic
#8F2B7F #8F6D2B #2B8F3B #2B4D8F
square
#8F2B7F #8F6D2B #2B8F3B #2B4D8F
split-complementary
#8F2B7F #4D8F2B #2B8F6D
monochromatic
#310F2B #601D55 #8F2B7F #BE39A9 #D064BF

Accessibility & contrast

On white

7.45
#8F2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2B7F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B7F#FFFFFF#000000##FFFFFF
##8F2B7F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#4D5A7D
Tritanopia (blue-blind)
#963251
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2b7f;
/* rgb */ color: rgb(143, 43, 127);
/* oklch */ color: oklch(47.1% 0.165 335.0);
Tailwind
colors: {
  custom: {
    50: '#b36da4',
    500: '#8f2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b7f;
$custom-light: #b36da4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b7f",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 309.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.16489,
    "h": 335
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#8F2B7F
secondary
#5FB76D
accent
#DD624B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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