#8D30B6#8D30B6

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

Color values

HEX#8D30B6
RGBrgb(141, 48, 182)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 74%, 71%)
CMYKcmyk(22.5%, 73.6%, 0%, 28.6%)
CIE-LABlab(39.84, 59.08, -53.05)
CIE-LCHlch(39.84, 79.41, 318.08°)
OKLaboklab(50.77% 0.1405 -0.1499)
OKLCHoklch(50.77% 0.205 313.2)
XYZxyz(20.4835, 11.1547, 45.3209)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B6 #59B630
analogous
#4A30B6 #8D30B6 #B6309C
triadic
#8D30B6 #B68D30 #30B68D
tetradic
#8D30B6 #B64A30 #59B630 #309CB6
square
#8D30B6 #B64A30 #59B630 #309CB6
split-complementary
#8D30B6 #9CB630 #30B64A
monochromatic
#421655 #672386 #8D30B6 #AA52D1 #C282DE

Accessibility & contrast

On white

6.50
#8D30B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D30B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B6#FFFFFF#000000##FFFFFF
##8D30B61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#894E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d30b6;
/* rgb */ color: rgb(141, 48, 182);
/* oklch */ color: oklch(50.8% 0.205 313.2);
Tailwind
colors: {
  custom: {
    50: '#b371cd',
    500: '#8d30b6',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b6;
$custom-light: #b371cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b6",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 281.642,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.20542,
    "h": 313.2
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

primary
#8D30B6
secondary
#92C77B
accent
#E14676
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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