#8F2C8D#8F2C8D

#8F2C8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.175 H 328.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F2C8D
RGBrgb(143, 44, 141)
HSLhsl(301, 53%, 37%)
HSVhsv(301, 69%, 56%)
CMYKcmyk(0%, 69.2%, 1.4%, 43.9%)
CIE-LABlab(37.05, 53.24, -32.84)
CIE-LCHlch(37.05, 62.56, 328.33°)
OKLaboklab(48.02% 0.1494 -0.0907)
OKLCHoklch(48.02% 0.175 328.7)
XYZxyz(17.0359, 9.5653, 26.1431)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C8D #2C8F2E
analogous
#602C8F #8F2C8D #8F2C5C
triadic
#8F2C8D #8D8F2C #2C8D8F
tetradic
#8F2C8D #8F602C #2C8F2E #2C5C8F
square
#8F2C8D #8F602C #2C8F2E #2C5C8F
split-complementary
#8F2C8D #5C8F2C #2C8F60
monochromatic
#310F31 #601E5F #8F2C8D #BE3ABB #D066CE

Accessibility & contrast

On white

7.21
#8F2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C8D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C8D#FFFFFF#000000##FFFFFF
##8F2C8D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#465C8A
Tritanopia (blue-blind)
#943959
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2c8d;
/* rgb */ color: rgb(143, 44, 141);
/* oklch */ color: oklch(48.0% 0.175 328.7);
Tailwind
colors: {
  custom: {
    50: '#b36eaf',
    500: '#8f2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c8d;
$custom-light: #b36eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c8d",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 301.212,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.17475,
    "h": 328.7
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#8F2C8D
secondary
#61B662
accent
#DC4E4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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