#8D4CCE#8D4CCE

#8D4CCE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.194 H 303.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D4CCE
RGBrgb(141, 76, 206)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 63%, 81%)
CMYKcmyk(31.6%, 63.1%, 0%, 19.2%)
CIE-LABlab(46.03, 51.75, -57.05)
CIE-LCHlch(46.03, 77.03, 312.21°)
OKLaboklab(55.71% 0.1079 -0.1618)
OKLCHoklch(55.71% 0.194 303.7)
XYZxyz(24.7070, 15.2879, 60.0298)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CCE #8DCE4C
analogous
#4C4CCE #8D4CCE #CE4CCE
triadic
#8D4CCE #CE8D4C #4CCE8D
tetradic
#8D4CCE #CE4C4C #8DCE4C #4CCECE
square
#8D4CCE #CE4C4C #8DCE4C #4CCECE
split-complementary
#8D4CCE #CECE4C #4CCE4C
monochromatic
#50227D #6E2FAD #8D4CCE #AC7CDB #CAACE8

Accessibility & contrast

On white

5.18
#8D4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CCE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CCE#FFFFFF#000000##FFFFFF
##8D4CCE1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#816886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4cce;
/* rgb */ color: rgb(141, 76, 206);
/* oklch */ color: oklch(55.7% 0.194 303.7);
Tailwind
colors: {
  custom: {
    50: '#b382de',
    500: '#8d4cce',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cce;
$custom-light: #b382de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cce",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.19443,
    "h": 303.7
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#8D4CCE
secondary
#BBD6A0
accent
#E04894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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