#8F2C97#8F2C97

#8F2C97 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.183 H 324.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8F2C97
RGBrgb(143, 44, 151)
HSLhsl(296, 55%, 38%)
HSVhsv(296, 71%, 59%)
CMYKcmyk(5.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(37.62, 55.02, -38.04)
CIE-LCHlch(37.62, 66.89, 325.34°)
OKLaboklab(48.61% 0.1495 -0.1058)
OKLCHoklch(48.61% 0.183 324.7)
XYZxyz(17.8138, 9.8765, 30.2402)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C97 #34972C
analogous
#592C97 #8F2C97 #972C69
triadic
#8F2C97 #978F2C #2C978F
tetradic
#8F2C97 #97592C #34972C #2C6997
square
#8F2C97 #97592C #34972C #2C6997
split-complementary
#8F2C97 #69972C #2C9759
monochromatic
#351038 #621E68 #8F2C97 #BB3AC6 #CC6AD4

Accessibility & contrast

On white

7.06
#8F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C97
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C97#FFFFFF#000000##FFFFFF
##8F2C971.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#405D94
Tritanopia (blue-blind)
#923E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2c97;
/* rgb */ color: rgb(143, 44, 151);
/* oklch */ color: oklch(48.6% 0.183 324.7);
Tailwind
colors: {
  custom: {
    50: '#b36fb6',
    500: '#8f2c97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c97;
$custom-light: #b36fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c97",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 295.514,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.18316,
    "h": 324.7
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#8F2C97
secondary
#6BBA65
accent
#DE4A55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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