#8D4CCC#8D4CCC

#8D4CCC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.192 H 304.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D4CCC
RGBrgb(141, 76, 204)
HSLhsl(270, 56%, 55%)
HSVhsv(270, 63%, 80%)
CMYKcmyk(30.9%, 62.7%, 0%, 20%)
CIE-LABlab(45.90, 51.27, -56.11)
CIE-LCHlch(45.90, 76.01, 312.42°)
OKLaboklab(55.57% 0.108 -0.159)
OKLCHoklch(55.57% 0.192 304.2)
XYZxyz(24.4656, 15.1913, 58.7584)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CCC #8BCC4C
analogous
#4D4CCC #8D4CCC #CC4CCB
triadic
#8D4CCC #CC8D4C #4CCC8D
tetradic
#8D4CCC #CC4D4C #8BCC4C #4CCBCC
square
#8D4CCC #CC4D4C #8BCC4C #4CCBCC
split-complementary
#8D4CCC #CBCC4C #4CCC4D
monochromatic
#4F237B #6E31AA #8D4CCC #AB7CDA #CAABE7

Accessibility & contrast

On white

5.20
#8D4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8D4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CCC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CCC#FFFFFF#000000##FFFFFF
##8D4CCC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#816785
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4ccc;
/* rgb */ color: rgb(141, 76, 204);
/* oklch */ color: oklch(55.6% 0.192 304.2);
Tailwind
colors: {
  custom: {
    50: '#b382dc',
    500: '#8d4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ccc;
$custom-light: #b382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ccc",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 270.469,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.19221,
    "h": 304.2
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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