#8D33A7#8D33A7

#8D33A7 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.188 H 317.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D33A7
RGBrgb(141, 51, 167)
HSLhsl(287, 53%, 43%)
HSVhsv(287, 69%, 65%)
CMYKcmyk(15.6%, 69.5%, 0%, 34.5%)
CIE-LABlab(39.28, 54.82, -45.05)
CIE-LCHlch(39.28, 70.95, 320.59°)
OKLaboklab(50.05% 0.1389 -0.1264)
OKLCHoklch(50.05% 0.188 317.7)
XYZxyz(19.1424, 10.8212, 37.6321)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33A7 #4DA733
analogous
#5333A7 #8D33A7 #A73387
triadic
#8D33A7 #A78D33 #33A78D
tetradic
#8D33A7 #A75333 #4DA733 #3387A7
square
#8D33A7 #A75333 #4DA733 #3387A7
split-complementary
#8D33A7 #87A733 #33A753
monochromatic
#3E1649 #652578 #8D33A7 #AD4EC9 #C37DD7

Accessibility & contrast

On white

6.64
#8D33A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D33A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33A7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33A7#FFFFFF#000000##FFFFFF
##8D33A71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#8C4969
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d33a7;
/* rgb */ color: rgb(141, 51, 167);
/* oklch */ color: oklch(50.0% 0.188 317.7);
Tailwind
colors: {
  custom: {
    50: '#b272c2',
    500: '#8d33a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d33a7;
$custom-light: #b272c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33a7",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 286.552,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.18784,
    "h": 317.7
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#8D33A7
secondary
#86C076
accent
#DD4B6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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