#8F2E7E#8F2E7E

#8F2E7E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.160 H 335.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8F2E7E
RGBrgb(143, 46, 126)
HSLhsl(311, 51%, 37%)
HSVhsv(311, 68%, 56%)
CMYKcmyk(0%, 67.8%, 11.9%, 43.9%)
CIE-LABlab(36.56, 49.94, -24.35)
CIE-LCHlch(36.56, 55.56, 334.00°)
OKLaboklab(47.41% 0.1457 -0.0663)
OKLCHoklch(47.41% 0.16 335.5)
XYZxyz(16.0708, 9.3013, 20.6835)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E7E #2E8F3F
analogous
#6F2E8F #8F2E7E #8F2E4E
triadic
#8F2E7E #7E8F2E #2E7E8F
tetradic
#8F2E7E #8F6F2E #2E8F3F #2E4E8F
square
#8F2E7E #8F6F2E #2E8F3F #2E4E8F
split-complementary
#8F2E7E #4E8F2E #2E8F6F
monochromatic
#32102C #611F55 #8F2E7E #BD3DA7 #CF69BD

Accessibility & contrast

On white

7.34
#8F2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E7E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E7E#FFFFFF#000000##FFFFFF
##8F2E7E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2e7e;
/* rgb */ color: rgb(143, 46, 126);
/* oklch */ color: oklch(47.4% 0.160 335.5);
Tailwind
colors: {
  custom: {
    50: '#b36fa3',
    500: '#8f2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e7e;
$custom-light: #b36fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e7e",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 310.515,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.16012,
    "h": 335.5
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#8F2E7E
secondary
#63B672
accent
#DB664D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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