#8D49CB#8D49CB

#8D49CB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.195 H 304.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D49CB
RGBrgb(141, 73, 203)
HSLhsl(271, 56%, 54%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(30.5%, 64%, 0%, 20.4%)
CIE-LABlab(45.28, 52.54, -56.54)
CIE-LCHlch(45.28, 77.18, 312.90°)
OKLaboklab(55.11% 0.1115 -0.1602)
OKLCHoklch(55.11% 0.195 304.8)
XYZxyz(24.1442, 14.7397, 58.0614)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D49CB #87CB49
analogous
#4C49CB #8D49CB #CB49C8
triadic
#8D49CB #CB8D49 #49CB8D
tetradic
#8D49CB #CB4C49 #87CB49 #49C8CB
square
#8D49CB #CB4C49 #87CB49 #49C8CB
split-complementary
#8D49CB #C8CB49 #49CB4C
monochromatic
#4F2277 #6E30A7 #8D49CB #AB79D9 #C9A8E6

Accessibility & contrast

On white

5.32
#8D49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8D49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D49CB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D49CB#FFFFFF#000000##FFFFFF
##8D49CB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#826583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d49cb;
/* rgb */ color: rgb(141, 73, 203);
/* oklch */ color: oklch(55.1% 0.195 304.8);
Tailwind
colors: {
  custom: {
    50: '#b380dc',
    500: '#8d49cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d49cb;
$custom-light: #b380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d49cb",
  "rgb": {
    "r": 141,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 271.385,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.19522,
    "h": 304.8
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#8D49CB
secondary
#B7D49C
accent
#DF4990
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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