#8D3497#8D3497

#8D3497 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.172 H 323.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D3497
RGBrgb(141, 52, 151)
HSLhsl(294, 49%, 40%)
HSVhsv(294, 66%, 59%)
CMYKcmyk(6.6%, 65.6%, 0%, 40.8%)
CIE-LABlab(38.47, 51.27, -36.71)
CIE-LCHlch(38.47, 63.05, 324.40°)
OKLaboklab(49.16% 0.1381 -0.1021)
OKLCHoklch(49.16% 0.172 323.5)
XYZxyz(17.7979, 10.3541, 30.3332)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3497 #3E9734
analogous
#5B3497 #8D3497 #973470
triadic
#8D3497 #978D34 #34978D
tetradic
#8D3497 #975B34 #3E9734 #347097
square
#8D3497 #975B34 #3E9734 #347097
split-complementary
#8D3497 #709734 #34975B
monochromatic
#38153C #622469 #8D3497 #B448C0 #C776D0

Accessibility & contrast

On white

6.84
#8D3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3497
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3497#FFFFFF#000000##FFFFFF
##8D34971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#8F4361
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3497;
/* rgb */ color: rgb(141, 52, 151);
/* oklch */ color: oklch(49.2% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#b172b6',
    500: '#8d3497',
    950: '#000000',
  },
}
SCSS
$custom: #8d3497;
$custom-light: #b172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3497",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 293.939,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.17174,
    "h": 323.5
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#8D3497
secondary
#76B86F
accent
#D84F5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3497

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

Preview Lab → · Contrast checker → · Palette generator →

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