#8D4DC2#8D4DC2

#8D4DC2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.180 H 306.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D4DC2
RGBrgb(141, 77, 194)
HSLhsl(273, 49%, 53%)
HSVhsv(273, 60%, 76%)
CMYKcmyk(27.3%, 60.3%, 0%, 23.9%)
CIE-LABlab(45.45, 48.39, -51.05)
CIE-LCHlch(45.45, 70.34, 313.47°)
OKLaboklab(55.05% 0.1072 -0.1441)
OKLCHoklch(55.05% 0.18 306.6)
XYZxyz(23.3739, 14.8658, 52.6665)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DC2 #82C24D
analogous
#524DC2 #8D4DC2 #C24DBC
triadic
#8D4DC2 #C28D4D #4DC28D
tetradic
#8D4DC2 #C2524D #82C24D #4DBCC2
square
#8D4DC2 #C2524D #82C24D #4DBCC2
split-complementary
#8D4DC2 #BCC24D #4DC252
monochromatic
#4E266F #6E369C #8D4DC2 #AA7BD2 #C7A8E1

Accessibility & contrast

On white

5.29
#8D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8D4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DC2#FFFFFF#000000##FFFFFF
##8D4DC21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#846480
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4dc2;
/* rgb */ color: rgb(141, 77, 194);
/* oklch */ color: oklch(55.0% 0.180 306.6);
Tailwind
colors: {
  custom: {
    50: '#b282d5',
    500: '#8d4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dc2;
$custom-light: #b282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dc2",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 272.821,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.1796,
    "h": 306.6
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#8D4DC2
secondary
#B3CF9C
accent
#D94F8D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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