#8F2397#8F2397

#8F2397 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.193 H 325.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F2397
RGBrgb(143, 35, 151)
HSLhsl(296, 62%, 36%)
HSVhsv(296, 77%, 59%)
CMYKcmyk(5.3%, 76.8%, 0%, 40.8%)
CIE-LABlab(36.51, 58.18, -39.81)
CIE-LCHlch(36.51, 70.49, 325.62°)
OKLaboklab(47.82% 0.1582 -0.1109)
OKLCHoklch(47.82% 0.193 325)
XYZxyz(17.5142, 9.2772, 30.1403)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2397 #2B9723
analogous
#552397 #8F2397 #972365
triadic
#8F2397 #978F23 #23978F
tetradic
#8F2397 #975523 #2B9723 #236597
square
#8F2397 #975523 #2B9723 #236597
split-complementary
#8F2397 #659723 #239755
monochromatic
#310C34 #601765 #8F2397 #BE2FC9 #D05BD9

Accessibility & contrast

On white

7.36
#8F2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2397
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2397#FFFFFF#000000##FFFFFF
##8F23971.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#92385C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2397;
/* rgb */ color: rgb(143, 35, 151);
/* oklch */ color: oklch(47.8% 0.193 325.0);
Tailwind
colors: {
  custom: {
    50: '#b36bb6',
    500: '#8f2397',
    950: '#000000',
  },
}
SCSS
$custom: #8f2397;
$custom-light: #b36bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2397",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 295.862,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.19322,
    "h": 325
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#8F2397
secondary
#5FBE58
accent
#E5424E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2397

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

Preview Lab → · Contrast checker → · Palette generator →

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