#8F2D99#8F2D99

#8F2D99 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.184 H 323.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8F2D99
RGBrgb(143, 45, 153)
HSLhsl(294, 55%, 39%)
HSVhsv(294, 71%, 60%)
CMYKcmyk(6.5%, 70.6%, 0%, 40%)
CIE-LABlab(37.87, 55.00, -38.85)
CIE-LCHlch(37.87, 67.34, 324.76°)
OKLaboklab(48.83% 0.1484 -0.1082)
OKLCHoklch(48.83% 0.184 323.9)
XYZxyz(18.0153, 10.0174, 31.1155)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D99 #37992D
analogous
#592D99 #8F2D99 #992D6D
triadic
#8F2D99 #998F2D #2D998F
tetradic
#8F2D99 #99592D #37992D #2D6D99
square
#8F2D99 #99592D #37992D #2D6D99
split-complementary
#8F2D99 #6D992D #2D9959
monochromatic
#37113A #631F6A #8F2D99 #B93DC6 #CA6CD4

Accessibility & contrast

On white

6.99
#8F2D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8F2D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2D99
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D99#FFFFFF#000000##FFFFFF
##8F2D991.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#923F60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2d99;
/* rgb */ color: rgb(143, 45, 153);
/* oklch */ color: oklch(48.8% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#b36fb7',
    500: '#8f2d99',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d99;
$custom-light: #b36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d99",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 294.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.18365,
    "h": 323.9
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#8F2D99
secondary
#6FBB67
accent
#DE4A58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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