#8F2E8D#8F2E8D

#8F2E8D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 328.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8F2E8D
RGBrgb(143, 46, 141)
HSLhsl(301, 51%, 37%)
HSVhsv(301, 68%, 56%)
CMYKcmyk(0%, 67.8%, 1.4%, 43.9%)
CIE-LABlab(37.33, 52.46, -32.40)
CIE-LCHlch(37.33, 61.65, 328.30°)
OKLaboklab(48.22% 0.1471 -0.0894)
OKLCHoklch(48.22% 0.172 328.7)
XYZxyz(17.1122, 9.7179, 26.1686)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E8D #2E8F30
analogous
#612E8F #8F2E8D #8F2E5D
triadic
#8F2E8D #8D8F2E #2E8D8F
tetradic
#8F2E8D #8F612E #2E8F30 #2E5D8F
square
#8F2E8D #8F612E #2E8F30 #2E5D8F
split-complementary
#8F2E8D #5D8F2E #2E8F61
monochromatic
#321032 #611F5F #8F2E8D #BD3DBB #CF69CD

Accessibility & contrast

On white

7.13
#8F2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E8D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E8D#FFFFFF#000000##FFFFFF
##8F2E8D1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#943B5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2e8d;
/* rgb */ color: rgb(143, 46, 141);
/* oklch */ color: oklch(48.2% 0.172 328.7);
Tailwind
colors: {
  custom: {
    50: '#b36faf',
    500: '#8f2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e8d;
$custom-light: #b36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e8d",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 301.237,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.17217,
    "h": 328.7
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#8F2E8D
secondary
#63B665
accent
#DB504D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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