#8D4CC8#8D4CC8

#8D4CC8 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.188 H 305.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8D4CC8
RGBrgb(141, 76, 200)
HSLhsl(271, 53%, 54%)
HSVhsv(271, 62%, 78%)
CMYKcmyk(29.5%, 62%, 0%, 21.6%)
CIE-LABlab(45.64, 50.32, -54.22)
CIE-LCHlch(45.64, 73.97, 312.86°)
OKLaboklab(55.3% 0.1082 -0.1534)
OKLCHoklch(55.3% 0.188 305.2)
XYZxyz(23.9920, 15.0019, 56.2641)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CC8 #87C84C
analogous
#4F4CC8 #8D4CC8 #C84CC5
triadic
#8D4CC8 #C88D4C #4CC88D
tetradic
#8D4CC8 #C84F4C #87C84C #4CC5C8
square
#8D4CC8 #C84F4C #87C84C #4CC5C8
split-complementary
#8D4CC8 #C5C84C #4CC84F
monochromatic
#4F2475 #6E32A4 #8D4CC8 #AB7BD6 #C9AAE5

Accessibility & contrast

On white

5.25
#8D4CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8D4CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CC8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CC8#FFFFFF#000000##FFFFFF
##8D4CC81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#836683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4cc8;
/* rgb */ color: rgb(141, 76, 200);
/* oklch */ color: oklch(55.3% 0.188 305.2);
Tailwind
colors: {
  custom: {
    50: '#b281d9',
    500: '#8d4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cc8;
$custom-light: #b281d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cc8",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 271.452,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.18775,
    "h": 305.2
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#8D4CC8
secondary
#B7D29E
accent
#DC4B90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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