#8D3286#8D3286

#8D3286 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.160 H 330.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8D3286
RGBrgb(141, 50, 134)
HSLhsl(305, 48%, 37%)
HSVhsv(305, 65%, 55%)
CMYKcmyk(0%, 64.5%, 5%, 44.7%)
CIE-LABlab(37.24, 49.05, -28.27)
CIE-LCHlch(37.24, 56.61, 330.05°)
OKLaboklab(47.97% 0.1395 -0.0776)
OKLCHoklch(47.97% 0.16 330.9)
XYZxyz(16.4281, 9.6663, 23.5502)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3286 #328D39
analogous
#66328D #8D3286 #8D3259
triadic
#8D3286 #868D32 #32868D
tetradic
#8D3286 #8D6632 #328D39 #32598D
square
#8D3286 #8D6632 #328D39 #32598D
split-complementary
#8D3286 #598D32 #328D66
monochromatic
#331230 #60225B #8D3286 #BA42B1 #CC6EC4

Accessibility & contrast

On white

7.16
#8D3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D3286
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3286#FFFFFF#000000##FFFFFF
##8D32861.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#923B57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3286;
/* rgb */ color: rgb(141, 50, 134);
/* oklch */ color: oklch(48.0% 0.160 330.9);
Tailwind
colors: {
  custom: {
    50: '#b171a9',
    500: '#8d3286',
    950: '#000000',
  },
}
SCSS
$custom: #8d3286;
$custom-light: #b171a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3286",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 304.615,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.15965,
    "h": 330.9
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#8D3286
secondary
#68B36D
accent
#D75B51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3286

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

Preview Lab → · Contrast checker → · Palette generator →

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