#8D30A1#8D30A1

#8D30A1 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.186 H 320.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D30A1
RGBrgb(141, 48, 161)
HSLhsl(289, 54%, 41%)
HSVhsv(289, 70%, 63%)
CMYKcmyk(12.4%, 70.2%, 0%, 36.9%)
CIE-LABlab(38.46, 54.87, -42.75)
CIE-LCHlch(38.46, 69.56, 322.07°)
OKLaboklab(49.35% 0.1425 -0.1197)
OKLCHoklch(49.35% 0.186 320)
XYZxyz(18.4737, 10.3507, 34.7361)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A1 #44A130
analogous
#5530A1 #8D30A1 #A1307C
triadic
#8D30A1 #A18D30 #30A18D
tetradic
#8D30A1 #A15530 #44A130 #307CA1
square
#8D30A1 #A15530 #44A130 #307CA1
split-complementary
#8D30A1 #7CA130 #30A155
monochromatic
#3A1443 #642272 #8D30A1 #B146C8 #C575D6

Accessibility & contrast

On white

6.84
#8D30A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D30A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30A1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A1#FFFFFF#000000##FFFFFF
##8D30A11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#8E4565
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a1;
/* rgb */ color: rgb(141, 48, 161);
/* oklch */ color: oklch(49.3% 0.186 320.0);
Tailwind
colors: {
  custom: {
    50: '#b271bd',
    500: '#8d30a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a1;
$custom-light: #b271bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a1",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 289.381,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.1861,
    "h": 320
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#8D30A1
secondary
#7DBE6F
accent
#DD4A64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A1

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

Preview Lab → · Contrast checker → · Palette generator →

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