#8D4CB8#8D4CB8

#8D4CB8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.170 H 309.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D4CB8
RGBrgb(141, 76, 184)
HSLhsl(276, 43%, 51%)
HSVhsv(276, 59%, 72%)
CMYKcmyk(23.4%, 58.7%, 0%, 27.8%)
CIE-LABlab(44.65, 46.59, -46.50)
CIE-LCHlch(44.65, 65.83, 315.05°)
OKLaboklab(54.27% 0.1084 -0.1308)
OKLCHoklch(54.27% 0.17 309.7)
XYZxyz(22.2190, 14.2927, 46.9264)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CB8 #77B84C
analogous
#574CB8 #8D4CB8 #B84CAD
triadic
#8D4CB8 #B88D4C #4CB88D
tetradic
#8D4CB8 #B8574C #77B84C #4CADB8
square
#8D4CB8 #B8574C #77B84C #4CADB8
split-complementary
#8D4CB8 #ADB84C #4CB857
monochromatic
#4B2763 #6C388E #8D4CB8 #A978C9 #C5A4DB

Accessibility & contrast

On white

5.44
#8D4CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D4CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CB8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CB8#FFFFFF#000000##FFFFFF
##8D4CB81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BB
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#87607B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4cb8;
/* rgb */ color: rgb(141, 76, 184);
/* oklch */ color: oklch(54.3% 0.170 309.7);
Tailwind
colors: {
  custom: {
    50: '#b181ce',
    500: '#8d4cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cb8;
$custom-light: #b181ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cb8",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 276.111,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.16991,
    "h": 309.7
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#8D4CB8
secondary
#ABC898
accent
#D35587
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D4CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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