#8D19B4#8D19B4

#8D19B4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.9% C 0.224 H 315.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8D19B4
RGBrgb(141, 25, 180)
HSLhsl(285, 76%, 40%)
HSVhsv(285, 86%, 71%)
CMYKcmyk(21.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(37.21, 65.87, -56.12)
CIE-LCHlch(37.21, 86.54, 319.57°)
OKLaboklab(48.88% 0.1587 -0.1587)
OKLCHoklch(48.88% 0.224 315)
XYZxyz(19.5690, 9.6540, 44.0038)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D19B4 #40B419
analogous
#3F19B4 #8D19B4 #B4198E
triadic
#8D19B4 #B48D19 #19B48D
tetradic
#8D19B4 #B43F19 #40B419 #198EB4
square
#8D19B4 #B43F19 #40B419 #198EB4
split-complementary
#8D19B4 #8EB419 #19B43F
monochromatic
#390A49 #63127E #8D19B4 #B329E1 #C65FE9

Accessibility & contrast

On white

7.17
#8D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D19B4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D19B4#FFFFFF#000000##FFFFFF
##8D19B41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#075AB1
Tritanopia (blue-blind)
#89436B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d19b4;
/* rgb */ color: rgb(141, 25, 180);
/* oklch */ color: oklch(48.9% 0.224 315.0);
Tailwind
colors: {
  custom: {
    50: '#b369cb',
    500: '#8d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d19b4;
$custom-light: #b369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d19b4",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 284.903,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.22441,
    "h": 315
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#8D19B4
secondary
#78CD5C
accent
#F23665
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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