#8F2997#8F2997

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

Color values

HEX#8F2997
RGBrgb(143, 41, 151)
HSLhsl(296, 57%, 38%)
HSVhsv(296, 73%, 59%)
CMYKcmyk(5.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(37.23, 56.13, -38.67)
CIE-LCHlch(37.23, 68.16, 325.44°)
OKLaboklab(48.33% 0.1526 -0.1076)
OKLCHoklch(48.33% 0.187 324.8)
XYZxyz(17.7061, 9.6610, 30.2043)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2997 #319729
analogous
#582997 #8F2997 #972968
triadic
#8F2997 #978F29 #29978F
tetradic
#8F2997 #975829 #319729 #296897
square
#8F2997 #975829 #319729 #296897
split-complementary
#8F2997 #689729 #299758
monochromatic
#340F37 #611C67 #8F2997 #BD36C7 #CD65D5

Accessibility & contrast

On white

7.16
#8F2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2997
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2997#FFFFFF#000000##FFFFFF
##8F29971.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2997;
/* rgb */ color: rgb(143, 41, 151);
/* oklch */ color: oklch(48.3% 0.187 324.8);
Tailwind
colors: {
  custom: {
    50: '#b36db6',
    500: '#8f2997',
    950: '#000000',
  },
}
SCSS
$custom: #8f2997;
$custom-light: #b36db6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2997",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 295.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.18671,
    "h": 324.8
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#8F2997
secondary
#67BB61
accent
#E14752
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2997

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

Preview Lab → · Contrast checker → · Palette generator →

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