#8D2F9E#8D2F9E

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

Color values

HEX#8D2F9E
RGBrgb(141, 47, 158)
HSLhsl(291, 54%, 40%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.8%, 70.3%, 0%, 38%)
CIE-LABlab(38.14, 54.69, -41.47)
CIE-LCHlch(38.14, 68.64, 322.83°)
OKLaboklab(49.05% 0.1437 -0.1159)
OKLCHoklch(49.05% 0.185 321.1)
XYZxyz(18.1719, 10.1653, 33.3461)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9E #409E2F
analogous
#562F9E #8D2F9E #9E2F77
triadic
#8D2F9E #9E8D2F #2F9E8D
tetradic
#8D2F9E #9E562F #409E2F #2F779E
square
#8D2F9E #9E562F #409E2F #2F779E
split-complementary
#8D2F9E #779E2F #2F9E56
monochromatic
#391340 #63216F #8D2F9E #B343C7 #C672D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2F9E#FFFFFF#000000##FFFFFF
##8D2F9E1.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)
#0153A1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#8E4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2f9e;
/* rgb */ color: rgb(141, 47, 158);
/* oklch */ color: oklch(49.1% 0.185 321.1);
Tailwind
colors: {
  custom: {
    50: '#b270bb',
    500: '#8d2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9e;
$custom-light: #b270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9e",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 290.811,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.18464,
    "h": 321.1
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#8D2F9E
secondary
#78BD6C
accent
#DE4A61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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