#8D30A5#8D30A5

#8D30A5 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.190 H 318.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8D30A5
RGBrgb(141, 48, 165)
HSLhsl(288, 55%, 42%)
HSVhsv(288, 71%, 65%)
CMYKcmyk(14.5%, 70.9%, 0%, 35.3%)
CIE-LABlab(38.72, 55.65, -44.75)
CIE-LCHlch(38.72, 71.41, 321.19°)
OKLaboklab(49.61% 0.1423 -0.1255)
OKLCHoklch(49.61% 0.19 318.6)
XYZxyz(18.8321, 10.4941, 36.6236)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A5 #48A530
analogous
#5230A5 #8D30A5 #A53083
triadic
#8D30A5 #A58D30 #30A58D
tetradic
#8D30A5 #A55230 #48A530 #3083A5
square
#8D30A5 #A55230 #48A530 #3083A5
split-complementary
#8D30A5 #83A530 #30A552
monochromatic
#3C1446 #642276 #8D30A5 #AF48CA #C478D8

Accessibility & contrast

On white

6.78
#8D30A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D30A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30A5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A5#FFFFFF#000000##FFFFFF
##8D30A51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#8D4767
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a5;
/* rgb */ color: rgb(141, 48, 165);
/* oklch */ color: oklch(49.6% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#b271c0',
    500: '#8d30a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a5;
$custom-light: #b271c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a5",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 287.692,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.18974,
    "h": 318.6
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#8D30A5
secondary
#81C071
accent
#DE4A68
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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