#8D3790#8D3790

#8D3790 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.161 H 326.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D3790
RGBrgb(141, 55, 144)
HSLhsl(298, 45%, 39%)
HSVhsv(298, 62%, 56%)
CMYKcmyk(2.1%, 61.8%, 0%, 43.5%)
CIE-LABlab(38.57, 48.61, -32.30)
CIE-LCHlch(38.57, 58.36, 326.40°)
OKLaboklab(49.11% 0.1341 -0.0893)
OKLCHoklch(49.11% 0.161 326.3)
XYZxyz(17.3844, 10.4098, 27.4738)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3790 #3A9037
analogous
#613790 #8D3790 #903767
triadic
#8D3790 #908D37 #37908D
tetradic
#8D3790 #906137 #3A9037 #376790
square
#8D3790 #906137 #3A9037 #376790
split-complementary
#8D3790 #679037 #379061
monochromatic
#361537 #622664 #8D3790 #B64ABA #C877CB

Accessibility & contrast

On white

6.81
#8D3790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D3790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3790
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3790#FFFFFF#000000##FFFFFF
##8D37901.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#91435E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3790;
/* rgb */ color: rgb(141, 55, 144);
/* oklch */ color: oklch(49.1% 0.161 326.3);
Tailwind
colors: {
  custom: {
    50: '#b174b1',
    500: '#8d3790',
    950: '#000000',
  },
}
SCSS
$custom: #8d3790;
$custom-light: #b174b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3790",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 297.978,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.16108,
    "h": 326.3
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#8D3790
secondary
#71B46F
accent
#D45358
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3790

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

Preview Lab → · Contrast checker → · Palette generator →

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