#8D3380#8D3380

#8D3380 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.153 H 333.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D3380
RGBrgb(141, 51, 128)
HSLhsl(309, 47%, 38%)
HSVhsv(309, 64%, 55%)
CMYKcmyk(0%, 63.8%, 9.2%, 44.7%)
CIE-LABlab(37.10, 47.58, -24.78)
CIE-LCHlch(37.10, 53.65, 332.49°)
OKLaboklab(47.77% 0.1375 -0.0676)
OKLCHoklch(47.77% 0.153 333.8)
XYZxyz(16.0647, 9.5901, 21.4229)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3380 #338D40
analogous
#6D338D #8D3380 #8D3353
triadic
#8D3380 #808D33 #33808D
tetradic
#8D3380 #8D6D33 #338D40 #33538D
square
#8D3380 #8D6D33 #338D40 #33538D
split-complementary
#8D3380 #538D33 #338D6D
monochromatic
#33122E #602357 #8D3380 #BA43A9 #CB6FBE

Accessibility & contrast

On white

7.20
#8D3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3380
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3380#FFFFFF#000000##FFFFFF
##8D33801.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#933A55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3380;
/* rgb */ color: rgb(141, 51, 128);
/* oklch */ color: oklch(47.8% 0.153 333.8);
Tailwind
colors: {
  custom: {
    50: '#b171a5',
    500: '#8d3380',
    950: '#000000',
  },
}
SCSS
$custom: #8d3380;
$custom-light: #b171a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3380",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 308.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.15325,
    "h": 333.8
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#8D3380
secondary
#69B374
accent
#D76551
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D3380

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

Preview Lab → · Contrast checker → · Palette generator →

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