#8D30B8#8D30B8

#8D30B8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 312.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8D30B8
RGBrgb(141, 48, 184)
HSLhsl(281, 59%, 45%)
HSVhsv(281, 74%, 72%)
CMYKcmyk(23.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(39.98, 59.50, -54.01)
CIE-LCHlch(39.98, 80.36, 317.77°)
OKLaboklab(50.91% 0.1402 -0.1527)
OKLCHoklch(50.91% 0.207 312.6)
XYZxyz(20.6916, 11.2379, 46.4173)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B8 #5BB830
analogous
#4930B8 #8D30B8 #B8309F
triadic
#8D30B8 #B88D30 #30B88D
tetradic
#8D30B8 #B84930 #5BB830 #309FB8
square
#8D30B8 #B84930 #5BB830 #309FB8
split-complementary
#8D30B8 #9FB830 #30B849
monochromatic
#431757 #682387 #8D30B8 #AA53D2 #C284DF

Accessibility & contrast

On white

6.47
#8D30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8D30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B8#FFFFFF#000000##FFFFFF
##8D30B81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#884F72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d30b8;
/* rgb */ color: rgb(141, 48, 184);
/* oklch */ color: oklch(50.9% 0.207 312.6);
Tailwind
colors: {
  custom: {
    50: '#b372ce',
    500: '#8d30b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b8;
$custom-light: #b372ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b8",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 281.029,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.20728,
    "h": 312.6
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#8D30B8
secondary
#94C87C
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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