#8D4CC7#8D4CC7

#8D4CC7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.187 H 305.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D4CC7
RGBrgb(141, 76, 199)
HSLhsl(272, 52%, 54%)
HSVhsv(272, 62%, 78%)
CMYKcmyk(29.1%, 61.8%, 0%, 22%)
CIE-LABlab(45.57, 50.08, -53.75)
CIE-LCHlch(45.57, 73.46, 312.98°)
OKLaboklab(55.24% 0.1082 -0.152)
OKLCHoklch(55.24% 0.187 305.4)
XYZxyz(23.8755, 14.9553, 55.6506)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CC7 #86C74C
analogous
#504CC7 #8D4CC7 #C74CC4
triadic
#8D4CC7 #C78D4C #4CC78D
tetradic
#8D4CC7 #C7504C #86C74C #4CC4C7
square
#8D4CC7 #C7504C #86C74C #4CC4C7
split-complementary
#8D4CC7 #C4C74C #4CC750
monochromatic
#4F2474 #6E33A3 #8D4CC7 #AB7BD6 #C8A9E4

Accessibility & contrast

On white

5.26
#8D4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8D4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CC7#FFFFFF#000000##FFFFFF
##8D4CC71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#306CC4
Tritanopia (blue-blind)
#836582
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4cc7;
/* rgb */ color: rgb(141, 76, 199);
/* oklch */ color: oklch(55.2% 0.187 305.4);
Tailwind
colors: {
  custom: {
    50: '#b281d9',
    500: '#8d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cc7;
$custom-light: #b281d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cc7",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 271.707,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.18664,
    "h": 305.4
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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