#8F2B99#8F2B99

#8F2B99 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.186 H 324.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8F2B99
RGBrgb(143, 43, 153)
HSLhsl(295, 56%, 38%)
HSVhsv(295, 72%, 60%)
CMYKcmyk(6.5%, 71.9%, 0%, 40%)
CIE-LABlab(37.61, 55.76, -39.28)
CIE-LCHlch(37.61, 68.20, 324.84°)
OKLaboklab(48.64% 0.1505 -0.1094)
OKLCHoklch(48.64% 0.186 324)
XYZxyz(17.9408, 9.8684, 31.0906)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B99 #35992B
analogous
#582B99 #8F2B99 #992B6C
triadic
#8F2B99 #998F2B #2B998F
tetradic
#8F2B99 #99582B #35992B #2B6C99
square
#8F2B99 #99582B #35992B #2B6C99
split-complementary
#8F2B99 #6C992B #2B9958
monochromatic
#361039 #621E69 #8F2B99 #BB3AC8 #CB69D5

Accessibility & contrast

On white

7.06
#8F2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B99
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B99#FFFFFF#000000##FFFFFF
##8F2B991.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#923E5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2b99;
/* rgb */ color: rgb(143, 43, 153);
/* oklch */ color: oklch(48.6% 0.186 324.0);
Tailwind
colors: {
  custom: {
    50: '#b36eb7',
    500: '#8f2b99',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b99;
$custom-light: #b36eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b99",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 294.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.18606,
    "h": 324
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#8F2B99
secondary
#6CBC64
accent
#DF4856
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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