#8D3382#8D3382

#8D3382 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.155 H 332.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8D3382
RGBrgb(141, 51, 130)
HSLhsl(307, 47%, 38%)
HSVhsv(307, 64%, 55%)
CMYKcmyk(0%, 63.8%, 7.8%, 44.7%)
CIE-LABlab(37.19, 47.92, -25.86)
CIE-LCHlch(37.19, 54.46, 331.64°)
OKLaboklab(47.87% 0.1378 -0.0707)
OKLCHoklch(47.87% 0.155 332.8)
XYZxyz(16.1976, 9.6433, 22.1230)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3382 #338D3E
analogous
#6B338D #8D3382 #8D3355
triadic
#8D3382 #828D33 #33828D
tetradic
#8D3382 #8D6B33 #338D3E #33558D
square
#8D3382 #8D6B33 #338D3E #33558D
split-complementary
#8D3382 #558D33 #338D6B
monochromatic
#33122F #602359 #8D3382 #BA43AB #CB6FC0

Accessibility & contrast

On white

7.17
#8D3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3382
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3382#FFFFFF#000000##FFFFFF
##8D33821.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#933A56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3382;
/* rgb */ color: rgb(141, 51, 130);
/* oklch */ color: oklch(47.9% 0.155 332.8);
Tailwind
colors: {
  custom: {
    50: '#b171a6',
    500: '#8d3382',
    950: '#000000',
  },
}
SCSS
$custom: #8d3382;
$custom-light: #b171a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3382",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 307.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.15488,
    "h": 332.8
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#8D3382
secondary
#69B372
accent
#D76251
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D3382

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

Preview Lab → · Contrast checker → · Palette generator →

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