#8D30B7#8D30B7

#8D30B7 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.206 H 312.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D30B7
RGBrgb(141, 48, 183)
HSLhsl(281, 58%, 45%)
HSVhsv(281, 74%, 72%)
CMYKcmyk(23%, 73.8%, 0%, 28.2%)
CIE-LABlab(39.91, 59.29, -53.53)
CIE-LCHlch(39.91, 79.88, 317.92°)
OKLaboklab(50.84% 0.1404 -0.1513)
OKLCHoklch(50.84% 0.206 312.9)
XYZxyz(20.5872, 11.1961, 45.8672)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B7 #5AB730
analogous
#4930B7 #8D30B7 #B7309E
triadic
#8D30B7 #B78D30 #30B78D
tetradic
#8D30B7 #B74930 #5AB730 #309EB7
square
#8D30B7 #B74930 #5AB730 #309EB7
split-complementary
#8D30B7 #9EB730 #30B749
monochromatic
#421756 #682387 #8D30B7 #AA52D2 #C283DE

Accessibility & contrast

On white

6.48
#8D30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B7#FFFFFF#000000##FFFFFF
##8D30B71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#884E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d30b7;
/* rgb */ color: rgb(141, 48, 183);
/* oklch */ color: oklch(50.8% 0.206 312.9);
Tailwind
colors: {
  custom: {
    50: '#b372cd',
    500: '#8d30b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b7;
$custom-light: #b372cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b7",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 281.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.20634,
    "h": 312.9
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#8D30B7
secondary
#93C87B
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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