#8F2B97#8F2B97

#8F2B97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.184 H 324.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8F2B97
RGBrgb(143, 43, 151)
HSLhsl(296, 56%, 38%)
HSVhsv(296, 72%, 59%)
CMYKcmyk(5.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(37.49, 55.40, -38.25)
CIE-LCHlch(37.49, 67.32, 325.37°)
OKLaboklab(48.52% 0.1505 -0.1064)
OKLCHoklch(48.52% 0.184 324.7)
XYZxyz(17.7770, 9.8029, 30.2280)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B97 #33972B
analogous
#592B97 #8F2B97 #972B69
triadic
#8F2B97 #978F2B #2B978F
tetradic
#8F2B97 #97592B #33972B #2B6997
square
#8F2B97 #97592B #33972B #2B6997
split-complementary
#8F2B97 #69972B #2B9759
monochromatic
#351038 #621D67 #8F2B97 #BC39C7 #CC68D4

Accessibility & contrast

On white

7.09
#8F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B97
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B97#FFFFFF#000000##FFFFFF
##8F2B971.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#923D5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2b97;
/* rgb */ color: rgb(143, 43, 151);
/* oklch */ color: oklch(48.5% 0.184 324.7);
Tailwind
colors: {
  custom: {
    50: '#b36eb6',
    500: '#8f2b97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b97;
$custom-light: #b36eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b97",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 295.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.18437,
    "h": 324.7
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#8F2B97
secondary
#6ABB63
accent
#DF4954
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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