#8D3E95#8D3E95

#8D3E95 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.3% C 0.155 H 323.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D3E95
RGBrgb(141, 62, 149)
HSLhsl(294, 41%, 41%)
HSVhsv(294, 58%, 58%)
CMYKcmyk(5.4%, 58.4%, 0%, 41.6%)
CIE-LABlab(40.05, 46.25, -33.00)
CIE-LCHlch(40.05, 56.82, 324.49°)
OKLaboklab(50.27% 0.1253 -0.0914)
OKLCHoklch(50.27% 0.155 323.9)
XYZxyz(18.1315, 11.2789, 29.6499)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E95 #46953E
analogous
#623E95 #8D3E95 #953E72
triadic
#8D3E95 #958D3E #3E958D
tetradic
#8D3E95 #95623E #46953E #3E7295
square
#8D3E95 #95623E #46953E #3E7295
split-complementary
#8D3E95 #72953E #3E9562
monochromatic
#3B1A3F #642C6A #8D3E95 #B057B9 #C482CB

Accessibility & contrast

On white

6.45
#8D3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3E95
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E95#FFFFFF#000000##FFFFFF
##8D3E951.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#904A63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3e95;
/* rgb */ color: rgb(141, 62, 149);
/* oklch */ color: oklch(50.3% 0.155 323.9);
Tailwind
colors: {
  custom: {
    50: '#b178b4',
    500: '#8d3e95',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e95;
$custom-light: #b178b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e95",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 294.483,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.15506,
    "h": 323.9
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#8D3E95
secondary
#7FB57A
accent
#D15762
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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