#8F2197#8F2197

#8F2197 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.195 H 325.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F2197
RGBrgb(143, 33, 151)
HSLhsl(296, 64%, 36%)
HSVhsv(296, 78%, 59%)
CMYKcmyk(5.3%, 78.1%, 0%, 40.8%)
CIE-LABlab(36.30, 58.80, -40.15)
CIE-LCHlch(36.30, 71.20, 325.67°)
OKLaboklab(47.67% 0.1599 -0.1119)
OKLCHoklch(47.67% 0.195 325)
XYZxyz(17.4570, 9.1629, 30.1213)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2197 #299721
analogous
#542197 #8F2197 #972164
triadic
#8F2197 #978F21 #21978F
tetradic
#8F2197 #975421 #299721 #216497
square
#8F2197 #975421 #299721 #216497
split-complementary
#8F2197 #649721 #219754
monochromatic
#300B33 #5F1665 #8F2197 #BF2CC9 #D258DA

Accessibility & contrast

On white

7.41
#8F2197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2197
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2197#FFFFFF#000000##FFFFFF
##8F21971.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#92375C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2197;
/* rgb */ color: rgb(143, 33, 151);
/* oklch */ color: oklch(47.7% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#b46ab6',
    500: '#8f2197',
    950: '#000000',
  },
}
SCSS
$custom: #8f2197;
$custom-light: #b46ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2197",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 295.932,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.1952,
    "h": 325
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#8F2197
secondary
#5CBE55
accent
#E7414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2197

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

Preview Lab → · Contrast checker → · Palette generator →

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