#8D56DC#8D56DC

#8D56DC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.197 H 299.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D56DC
RGBrgb(141, 86, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 61%, 86%)
CMYKcmyk(35.9%, 60.9%, 0%, 13.7%)
CIE-LABlab(48.87, 50.01, -60.48)
CIE-LCHlch(48.87, 78.48, 309.59°)
OKLaboklab(58.06% 0.0955 -0.1718)
OKLCHoklch(58.06% 0.197 299.1)
XYZxyz(27.2274, 17.4853, 69.6368)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56DC #A5DC56
analogous
#5662DC #8D56DC #D056DC
triadic
#8D56DC #DC8D56 #56DC8D
tetradic
#8D56DC #DC5662 #A5DC56 #56DCD0
square
#8D56DC #DC5662 #A5DC56 #56DCD0
split-complementary
#8D56DC #DCD056 #62DC56
monochromatic
#512098 #6C2ACB #8D56DC #AF89E6 #D1BBF1

Accessibility & contrast

On white

4.67
#8D56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56DC#FFFFFF#000000##FFFFFF
##8D56DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#7B7391
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d56dc;
/* rgb */ color: rgb(141, 86, 220);
/* oklch */ color: oklch(58.1% 0.197 299.1);
Tailwind
colors: {
  custom: {
    50: '#b388e8',
    500: '#8d56dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d56dc;
$custom-light: #b388e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56dc",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 264.627,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.19661,
    "h": 299.1
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#8D56DC
secondary
#CCE1AD
accent
#E93FA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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