#8D3392#8D3392

#8D3392 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.169 H 325.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8D3392
RGBrgb(141, 51, 146)
HSLhsl(297, 48%, 39%)
HSVhsv(297, 65%, 57%)
CMYKcmyk(3.4%, 65.1%, 0%, 42.7%)
CIE-LABlab(38.03, 50.76, -34.36)
CIE-LCHlch(38.03, 61.30, 325.91°)
OKLaboklab(48.75% 0.1392 -0.0952)
OKLCHoklch(48.75% 0.169 325.6)
XYZxyz(17.3563, 10.1068, 28.2252)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3392 #389233
analogous
#5D3392 #8D3392 #923367
triadic
#8D3392 #928D33 #33928D
tetradic
#8D3392 #925D33 #389233 #336792
square
#8D3392 #925D33 #389233 #336792
split-complementary
#8D3392 #679233 #33925D
monochromatic
#351337 #612365 #8D3392 #B744BE #C972CE

Accessibility & contrast

On white

6.95
#8D3392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D3392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3392
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3392#FFFFFF#000000##FFFFFF
##8D33921.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235295
Deuteranopia (green-blind)
#465D8F
Tritanopia (blue-blind)
#90415E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3392;
/* rgb */ color: rgb(141, 51, 146);
/* oklch */ color: oklch(48.8% 0.169 325.6);
Tailwind
colors: {
  custom: {
    50: '#b172b2',
    500: '#8d3392',
    950: '#000000',
  },
}
SCSS
$custom: #8d3392;
$custom-light: #b172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3392",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 296.842,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.16863,
    "h": 325.6
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#8D3392
secondary
#6FB66B
accent
#D85057
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3392

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

Preview Lab → · Contrast checker → · Palette generator →

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