#8D33A3#8D33A3

#8D33A3 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.184 H 319.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D33A3
RGBrgb(141, 51, 163)
HSLhsl(288, 52%, 42%)
HSVhsv(288, 69%, 64%)
CMYKcmyk(13.5%, 68.7%, 0%, 36.1%)
CIE-LABlab(39.03, 54.02, -43.05)
CIE-LCHlch(39.03, 69.08, 321.45°)
OKLaboklab(49.79% 0.1392 -0.1206)
OKLCHoklch(49.79% 0.184 319.1)
XYZxyz(18.7783, 10.6756, 35.7147)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33A3 #49A333
analogous
#5533A3 #8D33A3 #A33381
triadic
#8D33A3 #A38D33 #33A38D
tetradic
#8D33A3 #A35533 #49A333 #3381A3
square
#8D33A3 #A35533 #49A333 #3381A3
split-complementary
#8D33A3 #81A333 #33A355
monochromatic
#3C1646 #652474 #8D33A3 #AF4CC7 #C47BD6

Accessibility & contrast

On white

6.70
#8D33A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D33A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33A3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33A3#FFFFFF#000000##FFFFFF
##8D33A31.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#8D4867
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d33a3;
/* rgb */ color: rgb(141, 51, 163);
/* oklch */ color: oklch(49.8% 0.184 319.1);
Tailwind
colors: {
  custom: {
    50: '#b272bf',
    500: '#8d33a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d33a3;
$custom-light: #b272bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33a3",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 288.214,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.18412,
    "h": 319.1
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#8D33A3
secondary
#82BE73
accent
#DC4C68
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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