#8D30A8#8D30A8

#8D30A8 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 317.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8D30A8
RGBrgb(141, 48, 168)
HSLhsl(287, 56%, 42%)
HSVhsv(287, 71%, 66%)
CMYKcmyk(16.1%, 71.4%, 0%, 34.1%)
CIE-LABlab(38.91, 56.24, -46.24)
CIE-LCHlch(38.91, 72.81, 320.57°)
OKLaboklab(49.8% 0.1421 -0.1299)
OKLCHoklch(49.8% 0.192 317.6)
XYZxyz(19.1083, 10.6046, 38.0786)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A8 #4BA830
analogous
#5130A8 #8D30A8 #A83087
triadic
#8D30A8 #A88D30 #30A88D
tetradic
#8D30A8 #A85130 #4BA830 #3087A8
square
#8D30A8 #A85130 #4BA830 #3087A8
split-complementary
#8D30A8 #87A830 #30A851
monochromatic
#3D1549 #652278 #8D30A8 #AE4ACB #C37AD9

Accessibility & contrast

On white

6.73
#8D30A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D30A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30A8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A8#FFFFFF#000000##FFFFFF
##8D30A81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#345EA5
Tritanopia (blue-blind)
#8C4869
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d30a8;
/* rgb */ color: rgb(141, 48, 168);
/* oklch */ color: oklch(49.8% 0.192 317.6);
Tailwind
colors: {
  custom: {
    50: '#b271c2',
    500: '#8d30a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a8;
$custom-light: #b271c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a8",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 286.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.19248,
    "h": 317.6
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#8D30A8
secondary
#84C173
accent
#DF496B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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