#8D2F91#8D2F91

#8D2F91 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.173 H 326.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D2F91
RGBrgb(141, 47, 145)
HSLhsl(298, 51%, 38%)
HSVhsv(298, 68%, 57%)
CMYKcmyk(2.8%, 67.6%, 0%, 43.1%)
CIE-LABlab(37.37, 52.27, -34.80)
CIE-LCHlch(37.37, 62.79, 326.35°)
OKLaboklab(48.26% 0.1438 -0.0965)
OKLCHoklch(48.26% 0.173 326.1)
XYZxyz(17.1115, 9.7412, 27.7615)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F91 #33912F
analogous
#5C2F91 #8D2F91 #912F64
triadic
#8D2F91 #918D2F #2F918D
tetradic
#8D2F91 #915C2F #33912F #2F6491
square
#8D2F91 #915C2F #33912F #2F6491
split-complementary
#8D2F91 #64912F #2F915C
monochromatic
#331135 #602063 #8D2F91 #BA3EBF #CB6BCF

Accessibility & contrast

On white

7.12
#8D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F91
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F91#FFFFFF#000000##FFFFFF
##8D2F911.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#913D5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2f91;
/* rgb */ color: rgb(141, 47, 145);
/* oklch */ color: oklch(48.3% 0.173 326.1);
Tailwind
colors: {
  custom: {
    50: '#b170b2',
    500: '#8d2f91',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f91;
$custom-light: #b170b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f91",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 297.551,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.17318,
    "h": 326.1
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#8D2F91
secondary
#69B665
accent
#DB4D53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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