#8D30B1#8D30B1

#8D30B1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.4% C 0.201 H 314.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D30B1
RGBrgb(141, 48, 177)
HSLhsl(283, 57%, 44%)
HSVhsv(283, 73%, 69%)
CMYKcmyk(20.3%, 72.9%, 0%, 30.6%)
CIE-LABlab(39.50, 58.06, -50.65)
CIE-LCHlch(39.50, 77.04, 318.90°)
OKLaboklab(50.42% 0.1412 -0.1428)
OKLCHoklch(50.42% 0.201 314.7)
XYZxyz(19.9760, 10.9517, 42.6481)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B1 #54B130
analogous
#4D30B1 #8D30B1 #B13095
triadic
#8D30B1 #B18D30 #30B18D
tetradic
#8D30B1 #B14D30 #54B130 #3095B1
square
#8D30B1 #B14D30 #54B130 #3095B1
split-complementary
#8D30B1 #95B130 #30B14D
monochromatic
#401651 #672381 #8D30B1 #AB4FCF #C27FDC

Accessibility & contrast

On white

6.58
#8D30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D30B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B1#FFFFFF#000000##FFFFFF
##8D30B11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#2A5FAE
Tritanopia (blue-blind)
#8A4C6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d30b1;
/* rgb */ color: rgb(141, 48, 177);
/* oklch */ color: oklch(50.4% 0.201 314.7);
Tailwind
colors: {
  custom: {
    50: '#b271c9',
    500: '#8d30b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b1;
$custom-light: #b271c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b1",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 283.256,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.20078,
    "h": 314.7
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#8D30B1
secondary
#8DC578
accent
#E14772
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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