#8D4BCD#8D4BCD

#8D4BCD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.195 H 304.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D4BCD
RGBrgb(141, 75, 205)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 63%, 80%)
CMYKcmyk(31.2%, 63.4%, 0%, 19.6%)
CIE-LABlab(45.77, 52.02, -56.88)
CIE-LCHlch(45.77, 77.08, 312.44°)
OKLaboklab(55.51% 0.1091 -0.1613)
OKLCHoklch(55.51% 0.195 304.1)
XYZxyz(24.5175, 15.1027, 59.3692)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BCD #8BCD4B
analogous
#4C4BCD #8D4BCD #CD4BCC
triadic
#8D4BCD #CD8D4B #4BCD8D
tetradic
#8D4BCD #CD4C4B #8BCD4B #4BCCCD
square
#8D4BCD #CD4C4B #8BCD4B #4BCCCD
split-complementary
#8D4BCD #CCCD4B #4BCD4C
monochromatic
#4F227B #6E30AB #8D4BCD #AB7BDA #CAABE8

Accessibility & contrast

On white

5.22
#8D4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8D4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BCD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BCD#FFFFFF#000000##FFFFFF
##8D4BCD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#816785
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4bcd;
/* rgb */ color: rgb(141, 75, 205);
/* oklch */ color: oklch(55.5% 0.195 304.1);
Tailwind
colors: {
  custom: {
    50: '#b381dd',
    500: '#8d4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bcd;
$custom-light: #b381dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bcd",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 270.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.19469,
    "h": 304.1
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#8D4BCD
secondary
#B9D59F
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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