#8F2A97#8F2A97

#8F2A97 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 324.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8F2A97
RGBrgb(143, 42, 151)
HSLhsl(296, 56%, 38%)
HSVhsv(296, 72%, 59%)
CMYKcmyk(5.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(37.36, 55.77, -38.46)
CIE-LCHlch(37.36, 67.74, 325.41°)
OKLaboklab(48.42% 0.1516 -0.107)
OKLCHoklch(48.42% 0.186 324.8)
XYZxyz(17.7411, 9.7311, 30.2160)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A97 #32972A
analogous
#582A97 #8F2A97 #972A69
triadic
#8F2A97 #978F2A #2A978F
tetradic
#8F2A97 #97582A #32972A #2A6997
square
#8F2A97 #97582A #32972A #2A6997
split-complementary
#8F2A97 #69972A #2A9758
monochromatic
#340F37 #621D67 #8F2A97 #BC37C7 #CD67D5

Accessibility & contrast

On white

7.13
#8F2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A97
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A97#FFFFFF#000000##FFFFFF
##8F2A971.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#923C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2a97;
/* rgb */ color: rgb(143, 42, 151);
/* oklch */ color: oklch(48.4% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#b36eb6',
    500: '#8f2a97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a97;
$custom-light: #b36eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a97",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 295.596,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.18555,
    "h": 324.8
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#8F2A97
secondary
#68BB62
accent
#E04853
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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