#8F2F99#8F2F99

#8F2F99 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.181 H 323.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8F2F99
RGBrgb(143, 47, 153)
HSLhsl(294, 53%, 39%)
HSVhsv(294, 69%, 60%)
CMYKcmyk(6.5%, 69.3%, 0%, 40%)
CIE-LABlab(38.15, 54.21, -38.41)
CIE-LCHlch(38.15, 66.44, 324.69°)
OKLaboklab(49.03% 0.1462 -0.1069)
OKLCHoklch(49.03% 0.181 323.8)
XYZxyz(18.0935, 10.1736, 31.1415)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F99 #39992F
analogous
#5A2F99 #8F2F99 #992F6E
triadic
#8F2F99 #998F2F #2F998F
tetradic
#8F2F99 #995A2F #39992F #2F6E99
square
#8F2F99 #995A2F #39992F #2F6E99
split-complementary
#8F2F99 #6E992F #2F995A
monochromatic
#37123B #63216A #8F2F99 #B841C5 #CA6FD3

Accessibility & contrast

On white

6.92
#8F2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F99
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F99#FFFFFF#000000##FFFFFF
##8F2F991.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#924060
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2f99;
/* rgb */ color: rgb(143, 47, 153);
/* oklch */ color: oklch(49.0% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#b370b7',
    500: '#8f2f99',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f99;
$custom-light: #b370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f99",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 294.34,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.18115,
    "h": 323.8
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#8F2F99
secondary
#71BA69
accent
#DC4B59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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