#8D30A2#8D30A2

#8D30A2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.187 H 319.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8D30A2
RGBrgb(141, 48, 162)
HSLhsl(289, 54%, 41%)
HSVhsv(289, 70%, 64%)
CMYKcmyk(13%, 70.4%, 0%, 36.5%)
CIE-LABlab(38.53, 55.06, -43.26)
CIE-LCHlch(38.53, 70.02, 321.85°)
OKLaboklab(49.41% 0.1425 -0.1211)
OKLCHoklch(49.41% 0.187 319.6)
XYZxyz(18.5622, 10.3862, 35.2024)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A2 #45A230
analogous
#5430A2 #8D30A2 #A2307E
triadic
#8D30A2 #A28D30 #30A28D
tetradic
#8D30A2 #A25430 #45A230 #307EA2
square
#8D30A2 #A25430 #45A230 #307EA2
split-complementary
#8D30A2 #7EA230 #30A254
monochromatic
#3B1444 #642273 #8D30A2 #B147C8 #C576D6

Accessibility & contrast

On white

6.82
#8D30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D30A2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A2#FFFFFF#000000##FFFFFF
##8D30A21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#8D4565
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a2;
/* rgb */ color: rgb(141, 48, 162);
/* oklch */ color: oklch(49.4% 0.187 319.6);
Tailwind
colors: {
  custom: {
    50: '#b271be',
    500: '#8d30a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a2;
$custom-light: #b271be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a2",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 288.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.18701,
    "h": 319.6
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#8D30A2
secondary
#7EBE6F
accent
#DE4A65
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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