#8D3799#8D3799

#8D3799 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.169 H 322.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8D3799
RGBrgb(141, 55, 153)
HSLhsl(293, 47%, 41%)
HSVhsv(293, 64%, 60%)
CMYKcmyk(7.8%, 64.1%, 0%, 40%)
CIE-LABlab(39.06, 50.32, -36.98)
CIE-LCHlch(39.06, 62.44, 323.69°)
OKLaboklab(49.63% 0.1345 -0.1029)
OKLCHoklch(49.63% 0.169 322.6)
XYZxyz(18.0999, 10.6960, 31.2420)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3799 #439937
analogous
#5C3799 #8D3799 #993774
triadic
#8D3799 #998D37 #37998D
tetradic
#8D3799 #995C37 #439937 #377499
square
#8D3799 #995C37 #439937 #377499
split-complementary
#8D3799 #749937 #37995C
monochromatic
#3A173F #64276C #8D3799 #B14EBF #C57BD0

Accessibility & contrast

On white

6.69
#8D3799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D3799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3799
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3799#FFFFFF#000000##FFFFFF
##8D37991.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#8F4663
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3799;
/* rgb */ color: rgb(141, 55, 153);
/* oklch */ color: oklch(49.6% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#b174b7',
    500: '#8d3799',
    950: '#000000',
  },
}
SCSS
$custom: #8d3799;
$custom-light: #b174b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3799",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 292.653,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.16935,
    "h": 322.6
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#8D3799
secondary
#7CB973
accent
#D75161
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3799

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

Preview Lab → · Contrast checker → · Palette generator →

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