#8D2F9F#8D2F9F

#8D2F9F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.186 H 320.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D2F9F
RGBrgb(141, 47, 159)
HSLhsl(290, 54%, 40%)
HSVhsv(290, 70%, 62%)
CMYKcmyk(11.3%, 70.4%, 0%, 37.6%)
CIE-LABlab(38.20, 54.88, -41.98)
CIE-LCHlch(38.20, 69.09, 322.59°)
OKLaboklab(49.12% 0.1437 -0.1174)
OKLCHoklch(49.12% 0.186 320.8)
XYZxyz(18.2583, 10.1999, 33.8012)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9F #419F2F
analogous
#552F9F #8D2F9F #9F2F79
triadic
#8D2F9F #9F8D2F #2F9F8D
tetradic
#8D2F9F #9F552F #419F2F #2F799F
square
#8D2F9F #9F552F #419F2F #2F799F
split-complementary
#8D2F9F #799F2F #2F9F55
monochromatic
#391341 #632170 #8D2F9F #B244C8 #C673D6

Accessibility & contrast

On white

6.91
#8D2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F9F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F9F#FFFFFF#000000##FFFFFF
##8D2F9F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#8E4364
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2f9f;
/* rgb */ color: rgb(141, 47, 159);
/* oklch */ color: oklch(49.1% 0.186 320.8);
Tailwind
colors: {
  custom: {
    50: '#b270bc',
    500: '#8d2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9f;
$custom-light: #b270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9f",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 290.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.18555,
    "h": 320.8
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#8D2F9F
secondary
#79BD6D
accent
#DE4A62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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