#8D4DC7#8D4DC7

#8D4DC7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.185 H 305.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D4DC7
RGBrgb(141, 77, 199)
HSLhsl(271, 52%, 54%)
HSVhsv(271, 61%, 78%)
CMYKcmyk(29.1%, 61.3%, 0%, 22%)
CIE-LABlab(45.76, 49.57, -53.44)
CIE-LCHlch(45.76, 72.89, 312.85°)
OKLaboklab(55.38% 0.107 -0.1511)
OKLCHoklch(55.38% 0.185 305.3)
XYZxyz(23.9449, 15.0942, 55.6738)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DC7 #87C74D
analogous
#504DC7 #8D4DC7 #C74DC4
triadic
#8D4DC7 #C78D4D #4DC78D
tetradic
#8D4DC7 #C7504D #87C74D #4DC4C7
square
#8D4DC7 #C7504D #87C74D #4DC4C7
split-complementary
#8D4DC7 #C4C74D #4DC750
monochromatic
#4F2575 #6E33A3 #8D4DC7 #AB7CD6 #C9AAE4

Accessibility & contrast

On white

5.23
#8D4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4DC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DC7#FFFFFF#000000##FFFFFF
##8D4DC71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ACB
Deuteranopia (green-blind)
#326DC4
Tritanopia (blue-blind)
#836683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4dc7;
/* rgb */ color: rgb(141, 77, 199);
/* oklch */ color: oklch(55.4% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#b282d9',
    500: '#8d4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dc7;
$custom-light: #b282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dc7",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 271.475,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.18521,
    "h": 305.3
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#8D4DC7
secondary
#B7D29E
accent
#DC4C90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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