#8F2D91#8F2D91

#8F2D91 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.177 H 327.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8F2D91
RGBrgb(143, 45, 145)
HSLhsl(299, 53%, 37%)
HSVhsv(299, 69%, 57%)
CMYKcmyk(1.4%, 69%, 0%, 43.1%)
CIE-LABlab(37.41, 53.56, -34.72)
CIE-LCHlch(37.41, 63.82, 327.05°)
OKLaboklab(48.35% 0.1484 -0.0962)
OKLCHoklch(48.35% 0.177 327.1)
XYZxyz(17.3766, 9.7619, 27.7516)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D91 #2F912D
analogous
#5D2D91 #8F2D91 #912D61
triadic
#8F2D91 #918F2D #2D918F
tetradic
#8F2D91 #915D2D #2F912D #2D6191
square
#8F2D91 #915D2D #2F912D #2D6191
split-complementary
#8F2D91 #61912D #2D915D
monochromatic
#331034 #611F62 #8F2D91 #BD3BC0 #CE68D0

Accessibility & contrast

On white

7.11
#8F2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D91
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D91#FFFFFF#000000##FFFFFF
##8F2D911.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#933C5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2d91;
/* rgb */ color: rgb(143, 45, 145);
/* oklch */ color: oklch(48.3% 0.177 327.1);
Tailwind
colors: {
  custom: {
    50: '#b36fb2',
    500: '#8f2d91',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d91;
$custom-light: #b36fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d91",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 298.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.17682,
    "h": 327.1
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#8F2D91
secondary
#65B763
accent
#DC4C4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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