#8F288D#8F288D

#8F288D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.180 H 328.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8F288D
RGBrgb(143, 40, 141)
HSLhsl(301, 56%, 36%)
HSVhsv(301, 72%, 56%)
CMYKcmyk(0%, 72%, 1.4%, 43.9%)
CIE-LABlab(36.52, 54.74, -33.68)
CIE-LCHlch(36.52, 64.27, 328.40°)
OKLaboklab(47.64% 0.1536 -0.0931)
OKLCHoklch(47.64% 0.18 328.8)
XYZxyz(16.8940, 9.2815, 26.0959)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F288D #288F2A
analogous
#5D288F #8F288D #8F2859
triadic
#8F288D #8D8F28 #288D8F
tetradic
#8F288D #8F5D28 #288F2A #28598F
square
#8F288D #8F5D28 #288F2A #28598F
split-complementary
#8F288D #598F28 #288F5D
monochromatic
#2F0D2F #5F1B5E #8F288D #BF35BC #D25FD0

Accessibility & contrast

On white

7.35
#8F288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F288D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F288D#FFFFFF#000000##FFFFFF
##8F288D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#445B8A
Tritanopia (blue-blind)
#943658
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f288d;
/* rgb */ color: rgb(143, 40, 141);
/* oklch */ color: oklch(47.6% 0.180 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36caf',
    500: '#8f288d',
    950: '#000000',
  },
}
SCSS
$custom: #8f288d;
$custom-light: #b36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f288d",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 301.165,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.17964,
    "h": 328.8
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#8F288D
secondary
#5BB85D
accent
#E04B48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F288D

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

Preview Lab → · Contrast checker → · Palette generator →

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