#8D30A3#8D30A3

#8D30A3 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.188 H 319.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D30A3
RGBrgb(141, 48, 163)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 64%)
CMYKcmyk(13.5%, 70.6%, 0%, 36.1%)
CIE-LABlab(38.59, 55.26, -43.76)
CIE-LCHlch(38.59, 70.48, 321.63°)
OKLaboklab(49.48% 0.1424 -0.1226)
OKLCHoklch(49.48% 0.188 319.3)
XYZxyz(18.6515, 10.4219, 35.6724)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A3 #46A330
analogous
#5430A3 #8D30A3 #A33080
triadic
#8D30A3 #A38D30 #30A38D
tetradic
#8D30A3 #A35430 #46A330 #3080A3
square
#8D30A3 #A35430 #46A330 #3080A3
split-complementary
#8D30A3 #80A330 #30A354
monochromatic
#3B1444 #642274 #8D30A3 #B047C9 #C477D7

Accessibility & contrast

On white

6.81
#8D30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D30A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30A3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A3#FFFFFF#000000##FFFFFF
##8D30A31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#8D4666
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a3;
/* rgb */ color: rgb(141, 48, 163);
/* oklch */ color: oklch(49.5% 0.188 319.3);
Tailwind
colors: {
  custom: {
    50: '#b271bf',
    500: '#8d30a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a3;
$custom-light: #b271bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a3",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 288.522,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.18791,
    "h": 319.3
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#8D30A3
secondary
#7FBF70
accent
#DE4A66
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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