#8D4CDA#8D4CDA

#8D4CDA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.208 H 301.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D4CDA
RGBrgb(141, 76, 218)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(35.3%, 65.1%, 0%, 14.5%)
CIE-LABlab(46.83, 54.65, -62.62)
CIE-LCHlch(46.83, 83.12, 311.11°)
OKLaboklab(56.55% 0.1069 -0.1781)
OKLCHoklch(56.55% 0.208 301)
XYZxyz(26.2208, 15.8934, 68.0024)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CDA #99DA4C
analogous
#4C52DA #8D4CDA #D44CDA
triadic
#8D4CDA #DA8D4C #4CDA8D
tetradic
#8D4CDA #DA4C52 #99DA4C #4CDAD4
square
#8D4CDA #DA4C52 #99DA4C #4CDAD4
split-complementary
#8D4CDA #DAD44C #52DA4C
monochromatic
#511D8E #6E28C1 #8D4CDA #AD7FE4 #CEB1EF

Accessibility & contrast

On white

5.03
#8D4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CDA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CDA#FFFFFF#000000##FFFFFF
##8D4CDA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#016ED7
Tritanopia (blue-blind)
#7D6C8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4cda;
/* rgb */ color: rgb(141, 76, 218);
/* oklch */ color: oklch(56.5% 0.208 301.0);
Tailwind
colors: {
  custom: {
    50: '#b482e6',
    500: '#8d4cda',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cda;
$custom-light: #b482e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cda",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 267.465,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.20772,
    "h": 301
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#8D4CDA
secondary
#C3DDA4
accent
#E93F9B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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