#8D3285#8D3285

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

Color values

HEX#8D3285
RGBrgb(141, 50, 133)
HSLhsl(305, 48%, 37%)
HSVhsv(305, 65%, 55%)
CMYKcmyk(0%, 64.5%, 5.7%, 44.7%)
CIE-LABlab(37.19, 48.88, -27.73)
CIE-LCHlch(37.19, 56.19, 330.43°)
OKLaboklab(47.91% 0.1394 -0.0761)
OKLCHoklch(47.91% 0.159 331.4)
XYZxyz(16.3587, 9.6386, 23.1846)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3285 #328D3A
analogous
#68328D #8D3285 #8D3257
triadic
#8D3285 #858D32 #32858D
tetradic
#8D3285 #8D6832 #328D3A #32578D
square
#8D3285 #8D6832 #328D3A #32578D
split-complementary
#8D3285 #578D32 #328D68
monochromatic
#331230 #60225A #8D3285 #BA42B0 #CC6EC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3285#FFFFFF#000000##FFFFFF
##8D32851.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)
#2D4F87
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#933B57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3285;
/* rgb */ color: rgb(141, 50, 133);
/* oklch */ color: oklch(47.9% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#b171a9',
    500: '#8d3285',
    950: '#000000',
  },
}
SCSS
$custom: #8d3285;
$custom-light: #b171a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3285",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 305.275,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.15882,
    "h": 331.4
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#8D3285
secondary
#68B36E
accent
#D75C51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3285

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

Preview Lab → · Contrast checker → · Palette generator →

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