#8D4CDF#8D4CDF

#8D4CDF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.213 H 299.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D4CDF
RGBrgb(141, 76, 223)
HSLhsl(267, 70%, 59%)
HSVhsv(267, 66%, 87%)
CMYKcmyk(36.8%, 65.9%, 0%, 12.5%)
CIE-LABlab(47.18, 55.88, -64.90)
CIE-LCHlch(47.18, 85.64, 310.73°)
OKLaboklab(56.91% 0.1063 -0.1848)
OKLCHoklch(56.91% 0.213 299.9)
XYZxyz(26.8849, 16.1591, 71.5003)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CDF #9EDF4C
analogous
#4C54DF #8D4CDF #D74CDF
triadic
#8D4CDF #DF8D4C #4CDF8D
tetradic
#8D4CDF #DF4C54 #9EDF4C #4CDFD7
square
#8D4CDF #DF4C54 #9EDF4C #4CDFD7
split-complementary
#8D4CDF #DFD74C #54DF4C
monochromatic
#511B96 #6D24CA #8D4CDF #AE80E8 #CFB4F2

Accessibility & contrast

On white

4.96
#8D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CDF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CDF#FFFFFF#000000##FFFFFF
##8D4CDF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#7B6E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4cdf;
/* rgb */ color: rgb(141, 76, 223);
/* oklch */ color: oklch(56.9% 0.213 299.9);
Tailwind
colors: {
  custom: {
    50: '#b482ea',
    500: '#8d4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cdf;
$custom-light: #b482ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cdf",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 266.531,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.21323,
    "h": 299.9
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#8D4CDF
secondary
#C7E0A6
accent
#EC3B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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