#8D49CD#8D49CD

#8D49CD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.197 H 304.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D49CD
RGBrgb(141, 73, 205)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(31.2%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.41, 53.02, -57.47)
CIE-LCHlch(45.41, 78.19, 312.69°)
OKLaboklab(55.24% 0.1114 -0.163)
OKLCHoklch(55.24% 0.197 304.3)
XYZxyz(24.3840, 14.8357, 59.3247)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D49CD #89CD49
analogous
#4B49CD #8D49CD #CD49CB
triadic
#8D49CD #CD8D49 #49CD8D
tetradic
#8D49CD #CD4B49 #89CD49 #49CBCD
square
#8D49CD #CD4B49 #89CD49 #49CBCD
split-complementary
#8D49CD #CBCD49 #49CD4B
monochromatic
#4F227A #6E2FAA #8D49CD #AB79DA #C9A9E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D49CD#FFFFFF#000000##FFFFFF
##8D49CD1.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)
#006AD1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#816585
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d49cd;
/* rgb */ color: rgb(141, 73, 205);
/* oklch */ color: oklch(55.2% 0.197 304.3);
Tailwind
colors: {
  custom: {
    50: '#b380dd',
    500: '#8d49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d49cd;
$custom-light: #b380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d49cd",
  "rgb": {
    "r": 141,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 270.909,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.19741,
    "h": 304.3
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#8D49CD
secondary
#B8D59D
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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