#8D3283#8D3283

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

Color values

HEX#8D3283
RGBrgb(141, 50, 131)
HSLhsl(307, 48%, 37%)
HSVhsv(307, 65%, 55%)
CMYKcmyk(0%, 64.5%, 7.1%, 44.7%)
CIE-LABlab(37.08, 48.53, -26.65)
CIE-LCHlch(37.08, 55.37, 331.23°)
OKLaboklab(47.81% 0.1392 -0.073)
OKLCHoklch(47.81% 0.157 332.3)
XYZxyz(16.2218, 9.5838, 22.4638)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3283 #328D3C
analogous
#69328D #8D3283 #8D3256
triadic
#8D3283 #838D32 #32838D
tetradic
#8D3283 #8D6932 #328D3C #32568D
square
#8D3283 #8D6932 #328D3C #32568D
split-complementary
#8D3283 #568D32 #328D69
monochromatic
#33122F #602259 #8D3283 #BA42AD #CC6EC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D3283#FFFFFF#000000##FFFFFF
##8D32831.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)
#2E4F85
Deuteranopia (green-blind)
#4D5C81
Tritanopia (blue-blind)
#933A56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3283;
/* rgb */ color: rgb(141, 50, 131);
/* oklch */ color: oklch(47.8% 0.157 332.3);
Tailwind
colors: {
  custom: {
    50: '#b171a7',
    500: '#8d3283',
    950: '#000000',
  },
}
SCSS
$custom: #8d3283;
$custom-light: #b171a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3283",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 306.593,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.15716,
    "h": 332.3
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#8D3283
secondary
#68B370
accent
#D75F51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D3283

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

Preview Lab → · Contrast checker → · Palette generator →

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