#8D56CD#8D56CD

#8D56CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.179 H 302.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D56CD
RGBrgb(141, 86, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(31.2%, 58%, 0%, 19.6%)
CIE-LABlab(47.91, 46.27, -53.45)
CIE-LCHlch(47.91, 70.69, 310.89°)
OKLaboklab(57.06% 0.0959 -0.1512)
OKLCHoklch(57.06% 0.179 302.4)
XYZxyz(25.3292, 16.7260, 59.6398)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56CD #96CD56
analogous
#565BCD #8D56CD #C956CD
triadic
#8D56CD #CD8D56 #56CD8D
tetradic
#8D56CD #CD565B #96CD56 #56CDC9
square
#8D56CD #CD565B #96CD56 #56CDC9
split-complementary
#8D56CD #CDC956 #5BCD56
monochromatic
#512682 #6E34B1 #8D56CD #AD85DB #CDB4E9

Accessibility & contrast

On white

4.83
#8D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D56CD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56CD#FFFFFF#000000##FFFFFF
##8D56CD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#816E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d56cd;
/* rgb */ color: rgb(141, 86, 205);
/* oklch */ color: oklch(57.1% 0.179 302.4);
Tailwind
colors: {
  custom: {
    50: '#b288dd',
    500: '#8d56cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d56cd;
$custom-light: #b288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56cd",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 267.731,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.17904,
    "h": 302.4
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#8D56CD
secondary
#C1D8A7
accent
#DE4A99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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