#8D33A2#8D33A2

#8D33A2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.183 H 319.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D33A2
RGBrgb(141, 51, 162)
HSLhsl(289, 52%, 42%)
HSVhsv(289, 69%, 64%)
CMYKcmyk(13%, 68.5%, 0%, 36.5%)
CIE-LABlab(38.97, 53.82, -42.55)
CIE-LCHlch(38.97, 68.61, 321.67°)
OKLaboklab(49.73% 0.1392 -0.1191)
OKLCHoklch(49.73% 0.183 319.4)
XYZxyz(18.6891, 10.6399, 35.2447)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33A2 #48A233
analogous
#5633A2 #8D33A2 #A23380
triadic
#8D33A2 #A28D33 #33A28D
tetradic
#8D33A2 #A25633 #48A233 #3380A2
square
#8D33A2 #A25633 #48A233 #3380A2
split-complementary
#8D33A2 #80A233 #33A256
monochromatic
#3C1645 #642473 #8D33A2 #AF4CC7 #C47AD5

Accessibility & contrast

On white

6.71
#8D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33A2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33A2#FFFFFF#000000##FFFFFF
##8D33A21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#8D4766
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d33a2;
/* rgb */ color: rgb(141, 51, 162);
/* oklch */ color: oklch(49.7% 0.183 319.4);
Tailwind
colors: {
  custom: {
    50: '#b272be',
    500: '#8d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d33a2;
$custom-light: #b272be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33a2",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 288.649,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.18319,
    "h": 319.4
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#8D33A2
secondary
#81BE73
accent
#DC4C67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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