#8D4CC9#8D4CC9

#8D4CC9 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.189 H 304.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D4CC9
RGBrgb(141, 76, 201)
HSLhsl(271, 54%, 54%)
HSVhsv(271, 62%, 79%)
CMYKcmyk(29.9%, 62.2%, 0%, 21.2%)
CIE-LABlab(45.70, 50.56, -54.70)
CIE-LCHlch(45.70, 74.48, 312.75°)
OKLaboklab(55.37% 0.1082 -0.1548)
OKLCHoklch(55.37% 0.189 304.9)
XYZxyz(24.1092, 15.0488, 56.8816)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CC9 #88C94C
analogous
#4F4CC9 #8D4CC9 #C94CC7
triadic
#8D4CC9 #C98D4C #4CC98D
tetradic
#8D4CC9 #C94F4C #88C94C #4CC7C9
square
#8D4CC9 #C94F4C #88C94C #4CC7C9
split-complementary
#8D4CC9 #C7C94C #4CC94F
monochromatic
#4F2477 #6E32A6 #8D4CC9 #AB7BD7 #C9AAE5

Accessibility & contrast

On white

5.24
#8D4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8D4CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CC9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CC9#FFFFFF#000000##FFFFFF
##8D4CC91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#826683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4cc9;
/* rgb */ color: rgb(141, 76, 201);
/* oklch */ color: oklch(55.4% 0.189 304.9);
Tailwind
colors: {
  custom: {
    50: '#b281da',
    500: '#8d4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cc9;
$custom-light: #b281da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cc9",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 271.2,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.18887,
    "h": 304.9
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#8D4CC9
secondary
#B7D39E
accent
#DD4B91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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