#8D30A6#8D30A6

#8D30A6 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.191 H 318.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D30A6
RGBrgb(141, 48, 166)
HSLhsl(287, 55%, 42%)
HSVhsv(287, 71%, 65%)
CMYKcmyk(15.1%, 71.1%, 0%, 34.9%)
CIE-LABlab(38.78, 55.85, -45.25)
CIE-LCHlch(38.78, 71.88, 320.98°)
OKLaboklab(49.67% 0.1422 -0.127)
OKLCHoklch(49.67% 0.191 318.2)
XYZxyz(18.9234, 10.5306, 37.1048)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A6 #49A630
analogous
#5230A6 #8D30A6 #A63084
triadic
#8D30A6 #A68D30 #30A68D
tetradic
#8D30A6 #A65230 #49A630 #3084A6
square
#8D30A6 #A65230 #49A630 #3084A6
split-complementary
#8D30A6 #84A630 #30A652
monochromatic
#3C1547 #652277 #8D30A6 #AF49CA #C478D8

Accessibility & contrast

On white

6.76
#8D30A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D30A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30A6
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A6#FFFFFF#000000##FFFFFF
##8D30A61.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#8C4768
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a6;
/* rgb */ color: rgb(141, 48, 166);
/* oklch */ color: oklch(49.7% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#b271c1',
    500: '#8d30a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a6;
$custom-light: #b271c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a6",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 287.288,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.19066,
    "h": 318.2
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#8D30A6
secondary
#82C071
accent
#DE4969
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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