#8F2F91#8F2F91

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

Color values

HEX#8F2F91
RGBrgb(143, 47, 145)
HSLhsl(299, 51%, 38%)
HSVhsv(299, 68%, 57%)
CMYKcmyk(1.4%, 67.6%, 0%, 43.1%)
CIE-LABlab(37.70, 52.76, -34.27)
CIE-LCHlch(37.70, 62.91, 327.00°)
OKLaboklab(48.55% 0.1461 -0.0949)
OKLCHoklch(48.55% 0.174 327)
XYZxyz(17.4548, 9.9182, 27.7776)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F91 #31912F
analogous
#5E2F91 #8F2F91 #912F62
triadic
#8F2F91 #918F2F #2F918F
tetradic
#8F2F91 #915E2F #31912F #2F6291
square
#8F2F91 #915E2F #31912F #2F6291
split-complementary
#8F2F91 #62912F #2F915E
monochromatic
#341135 #612063 #8F2F91 #BD3EBF #CD6BCF

Accessibility & contrast

On white

7.04
#8F2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2F91
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F91#FFFFFF#000000##FFFFFF
##8F2F911.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#465D8E
Tritanopia (blue-blind)
#933D5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2f91;
/* rgb */ color: rgb(143, 47, 145);
/* oklch */ color: oklch(48.6% 0.174 327.0);
Tailwind
colors: {
  custom: {
    50: '#b370b1',
    500: '#8f2f91',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f91;
$custom-light: #b370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f91",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 298.776,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.17424,
    "h": 327
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#8F2F91
secondary
#67B665
accent
#DB4D50
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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