#8D30A7#8D30A7

#8D30A7 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.192 H 317.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D30A7
RGBrgb(141, 48, 167)
HSLhsl(287, 55%, 42%)
HSVhsv(287, 71%, 65%)
CMYKcmyk(15.6%, 71.3%, 0%, 34.5%)
CIE-LABlab(38.84, 56.04, -45.75)
CIE-LCHlch(38.84, 72.34, 320.78°)
OKLaboklab(49.74% 0.1421 -0.1284)
OKLCHoklch(49.74% 0.192 317.9)
XYZxyz(19.0155, 10.5675, 37.5898)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30A7 #4AA730
analogous
#5230A7 #8D30A7 #A73086
triadic
#8D30A7 #A78D30 #30A78D
tetradic
#8D30A7 #A75230 #4AA730 #3086A7
square
#8D30A7 #A75230 #4AA730 #3086A7
split-complementary
#8D30A7 #86A730 #30A752
monochromatic
#3D1548 #652277 #8D30A7 #AF49CB #C479D8

Accessibility & contrast

On white

6.75
#8D30A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D30A7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30A7#FFFFFF#000000##FFFFFF
##8D30A71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#8C4768
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d30a7;
/* rgb */ color: rgb(141, 48, 167);
/* oklch */ color: oklch(49.7% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#b271c2',
    500: '#8d30a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d30a7;
$custom-light: #b271c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30a7",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 286.891,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.19157,
    "h": 317.9
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#8D30A7
secondary
#83C172
accent
#DF496A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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