#8F2C91#8F2C91

#8F2C91 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 327.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F2C91
RGBrgb(143, 44, 145)
HSLhsl(299, 53%, 37%)
HSVhsv(299, 70%, 57%)
CMYKcmyk(1.4%, 69.7%, 0%, 43.1%)
CIE-LABlab(37.27, 53.94, -34.94)
CIE-LCHlch(37.27, 64.27, 327.07°)
OKLaboklab(48.25% 0.1495 -0.0968)
OKLCHoklch(48.25% 0.178 327.1)
XYZxyz(17.3389, 9.6865, 27.7390)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C91 #2E912C
analogous
#5D2C91 #8F2C91 #912C61
triadic
#8F2C91 #918F2C #2C918F
tetradic
#8F2C91 #915D2C #2E912C #2C6191
square
#8F2C91 #915D2C #2E912C #2C6191
split-complementary
#8F2C91 #61912C #2C915D
monochromatic
#321033 #611E62 #8F2C91 #BD3AC0 #CF67D1

Accessibility & contrast

On white

7.15
#8F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2C91
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C91#FFFFFF#000000##FFFFFF
##8F2C911.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#933B5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2c91;
/* rgb */ color: rgb(143, 44, 145);
/* oklch */ color: oklch(48.3% 0.178 327.1);
Tailwind
colors: {
  custom: {
    50: '#b36eb2',
    500: '#8f2c91',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c91;
$custom-light: #b36eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c91",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 298.812,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.17809,
    "h": 327.1
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#8F2C91
secondary
#63B762
accent
#DD4B4E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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