#8D4CB5#8D4CB5

#8D4CB5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.167 H 310.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D4CB5
RGBrgb(141, 76, 181)
HSLhsl(277, 42%, 50%)
HSVhsv(277, 58%, 71%)
CMYKcmyk(22.1%, 58%, 0%, 29%)
CIE-LABlab(44.47, 45.91, -45.03)
CIE-LCHlch(44.47, 64.30, 315.55°)
OKLaboklab(54.08% 0.1084 -0.1265)
OKLCHoklch(54.08% 0.167 310.6)
XYZxyz(21.9079, 14.1682, 45.2878)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CB5 #74B54C
analogous
#584CB5 #8D4CB5 #B54CA8
triadic
#8D4CB5 #B58D4C #4CB58D
tetradic
#8D4CB5 #B5584C #74B54C #4CA8B5
square
#8D4CB5 #B5584C #74B54C #4CA8B5
split-complementary
#8D4CB5 #A8B54C #4CB558
monochromatic
#4A275F #6C398B #8D4CB5 #A977C7 #C4A3D9

Accessibility & contrast

On white

5.48
#8D4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D4CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CB5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CB5#FFFFFF#000000##FFFFFF
##8D4CB51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#885F79
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4cb5;
/* rgb */ color: rgb(141, 76, 181);
/* oklch */ color: oklch(54.1% 0.167 310.6);
Tailwind
colors: {
  custom: {
    50: '#b181cc',
    500: '#8d4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cb5;
$custom-light: #b181cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cb5",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 277.143,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.16656,
    "h": 310.6
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#8D4CB5
secondary
#A9C697
accent
#D15685
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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