#8D49CE#8D49CE

#8D49CE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.199 H 304.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D49CE
RGBrgb(141, 73, 206)
HSLhsl(271, 58%, 55%)
HSVhsv(271, 65%, 81%)
CMYKcmyk(31.6%, 64.6%, 0%, 19.2%)
CIE-LABlab(45.48, 53.25, -57.94)
CIE-LCHlch(45.48, 78.70, 312.58°)
OKLaboklab(55.31% 0.1113 -0.1644)
OKLCHoklch(55.31% 0.199 304.1)
XYZxyz(24.5051, 14.8841, 59.9625)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D49CE #8ACE49
analogous
#4B49CE #8D49CE #CE49CC
triadic
#8D49CE #CE8D49 #49CE8D
tetradic
#8D49CE #CE4B49 #8ACE49 #49CCCE
square
#8D49CE #CE4B49 #8ACE49 #49CCCE
split-complementary
#8D49CE #CCCE49 #49CE4B
monochromatic
#4F217B #6E2EAC #8D49CE #AB79DB #C9A9E8

Accessibility & contrast

On white

5.28
#8D49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D49CE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D49CE#FFFFFF#000000##FFFFFF
##8D49CE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#206CCB
Tritanopia (blue-blind)
#816685
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d49ce;
/* rgb */ color: rgb(141, 73, 206);
/* oklch */ color: oklch(55.3% 0.199 304.1);
Tailwind
colors: {
  custom: {
    50: '#b380de',
    500: '#8d49ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d49ce;
$custom-light: #b380de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d49ce",
  "rgb": {
    "r": 141,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 270.677,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.1985,
    "h": 304.1
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#8D49CE
secondary
#B9D59D
accent
#E14792
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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