#8D33A6#8D33A6

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

Color values

HEX#8D33A6
RGBrgb(141, 51, 166)
HSLhsl(287, 53%, 43%)
HSVhsv(287, 69%, 65%)
CMYKcmyk(15.1%, 69.3%, 0%, 34.9%)
CIE-LABlab(39.21, 54.62, -44.55)
CIE-LCHlch(39.21, 70.48, 320.79°)
OKLaboklab(49.98% 0.139 -0.1249)
OKLCHoklch(49.98% 0.187 318)
XYZxyz(19.0503, 10.7844, 37.1471)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33A6 #4CA633
analogous
#5433A6 #8D33A6 #A63385
triadic
#8D33A6 #A68D33 #33A68D
tetradic
#8D33A6 #A65433 #4CA633 #3385A6
square
#8D33A6 #A65433 #4CA633 #3385A6
split-complementary
#8D33A6 #85A633 #33A654
monochromatic
#3D1648 #652577 #8D33A6 #AE4EC9 #C37CD7

Accessibility & contrast

On white

6.65
#8D33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D33A6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33A6#FFFFFF#000000##FFFFFF
##8D33A61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#8C4969
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d33a6;
/* rgb */ color: rgb(141, 51, 166);
/* oklch */ color: oklch(50.0% 0.187 318.0);
Tailwind
colors: {
  custom: {
    50: '#b272c1',
    500: '#8d33a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d33a6;
$custom-light: #b272c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33a6",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 286.957,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.18691,
    "h": 318
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#8D33A6
secondary
#85C075
accent
#DC4B6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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