#8D56CE#8D56CE

#8D56CE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.180 H 302.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D56CE
RGBrgb(141, 86, 206)
HSLhsl(268, 55%, 57%)
HSVhsv(268, 58%, 81%)
CMYKcmyk(31.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(47.97, 46.52, -53.92)
CIE-LCHlch(47.97, 71.21, 310.79°)
OKLaboklab(57.13% 0.0959 -0.1526)
OKLCHoklch(57.13% 0.18 302.1)
XYZxyz(25.4503, 16.7745, 60.2776)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56CE #97CE56
analogous
#565BCE #8D56CE #C956CE
triadic
#8D56CE #CE8D56 #56CE8D
tetradic
#8D56CE #CE565B #97CE56 #56CEC9
square
#8D56CE #CE565B #97CE56 #56CEC9
split-complementary
#8D56CE #CEC956 #5BCE56
monochromatic
#512683 #6E34B3 #8D56CE #AD85DC #CDB5EA

Accessibility & contrast

On white

4.82
#8D56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56CE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56CE#FFFFFF#000000##FFFFFF
##8D56CE1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#806E8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d56ce;
/* rgb */ color: rgb(141, 86, 206);
/* oklch */ color: oklch(57.1% 0.180 302.1);
Tailwind
colors: {
  custom: {
    50: '#b288de',
    500: '#8d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ce;
$custom-light: #b288de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ce",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 267.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.18022,
    "h": 302.1
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#8D56CE
secondary
#C2D8A8
accent
#DE499A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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