#8F2C9B#8F2C9B

#8F2C9B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 323.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F2C9B
RGBrgb(143, 44, 155)
HSLhsl(294, 56%, 39%)
HSVhsv(294, 72%, 61%)
CMYKcmyk(7.7%, 71.6%, 0%, 39.2%)
CIE-LABlab(37.86, 55.75, -40.09)
CIE-LCHlch(37.86, 68.67, 324.28°)
OKLaboklab(48.86% 0.1494 -0.1118)
OKLCHoklch(48.86% 0.187 323.2)
XYZxyz(18.1442, 10.0086, 31.9802)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C9B #389B2C
analogous
#582C9B #8F2C9B #9B2C70
triadic
#8F2C9B #9B8F2C #2C9B8F
tetradic
#8F2C9B #9B582C #389B2C #2C709B
square
#8F2C9B #9B582C #389B2C #2C709B
split-complementary
#8F2C9B #709B2C #2C9B58
monochromatic
#37113C #631E6B #8F2C9B #B93CC8 #CA6CD5

Accessibility & contrast

On white

7.00
#8F2C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F2C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2C9B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C9B#FFFFFF#000000##FFFFFF
##8F2C9B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#913F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2c9b;
/* rgb */ color: rgb(143, 44, 155);
/* oklch */ color: oklch(48.9% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#b36fb9',
    500: '#8f2c9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c9b;
$custom-light: #b36fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c9b",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 293.514,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.18659,
    "h": 323.2
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#8F2C9B
secondary
#70BC67
accent
#DF4959
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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