#8D49C2#8D49C2

#8D49C2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.185 H 307.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8D49C2
RGBrgb(141, 73, 194)
HSLhsl(274, 50%, 52%)
HSVhsv(274, 62%, 76%)
CMYKcmyk(27.3%, 62.4%, 0%, 23.9%)
CIE-LABlab(44.69, 50.43, -52.26)
CIE-LCHlch(44.69, 72.63, 313.98°)
OKLaboklab(54.5% 0.112 -0.1477)
OKLCHoklch(54.5% 0.185 307.2)
XYZxyz(23.1026, 14.3231, 52.5761)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D49C2 #7EC249
analogous
#5149C2 #8D49C2 #C249BA
triadic
#8D49C2 #C28D49 #49C28D
tetradic
#8D49C2 #C25149 #7EC249 #49BAC2
square
#8D49C2 #C25149 #7EC249 #49BAC2
split-complementary
#8D49C2 #BAC249 #49C251
monochromatic
#4D246C #6D349A #8D49C2 #AA77D1 #C6A5E1

Accessibility & contrast

On white

5.43
#8D49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D49C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D49C2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D49C2#FFFFFF#000000##FFFFFF
##8D49C21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0167C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#85617F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d49c2;
/* rgb */ color: rgb(141, 73, 194);
/* oklch */ color: oklch(54.5% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#b27fd5',
    500: '#8d49c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d49c2;
$custom-light: #b27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d49c2",
  "rgb": {
    "r": 141,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 273.719,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.18537,
    "h": 307.2
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#8D49C2
secondary
#B0CE99
accent
#D94E8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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