#8D3385#8D3385

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

Color values

HEX#8D3385
RGBrgb(141, 51, 133)
HSLhsl(305, 47%, 38%)
HSVhsv(305, 64%, 55%)
CMYKcmyk(0%, 63.8%, 5.7%, 44.7%)
CIE-LABlab(37.34, 48.44, -27.48)
CIE-LCHlch(37.34, 55.69, 330.43°)
OKLaboklab(48.03% 0.1382 -0.0754)
OKLCHoklch(48.03% 0.157 331.4)
XYZxyz(16.4019, 9.7250, 23.1990)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3385 #338D3B
analogous
#68338D #8D3385 #8D3358
triadic
#8D3385 #858D33 #33858D
tetradic
#8D3385 #8D6833 #338D3B #33588D
square
#8D3385 #8D6833 #338D3B #33588D
split-complementary
#8D3385 #588D33 #338D68
monochromatic
#331230 #60235B #8D3385 #BA43AF #CB6FC3

Accessibility & contrast

On white

7.13
#8D3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3385
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3385#FFFFFF#000000##FFFFFF
##8D33851.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#933C57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3385;
/* rgb */ color: rgb(141, 51, 133);
/* oklch */ color: oklch(48.0% 0.157 331.4);
Tailwind
colors: {
  custom: {
    50: '#b171a9',
    500: '#8d3385',
    950: '#000000',
  },
}
SCSS
$custom: #8d3385;
$custom-light: #b171a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3385",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 305.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48029,
    "c": 0.15737,
    "h": 331.4
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#8D3385
secondary
#69B36F
accent
#D75D51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3385

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

Preview Lab → · Contrast checker → · Palette generator →

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