#8D56D4#8D56D4

#8D56D4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.187 H 300.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D56D4
RGBrgb(141, 86, 212)
HSLhsl(266, 59%, 58%)
HSVhsv(266, 59%, 83%)
CMYKcmyk(33.5%, 59.4%, 0%, 16.9%)
CIE-LABlab(48.35, 48.01, -56.75)
CIE-LCHlch(48.35, 74.33, 310.23°)
OKLaboklab(57.52% 0.0958 -0.1609)
OKLCHoklch(57.52% 0.187 300.8)
XYZxyz(26.1931, 17.0716, 64.1898)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56D4 #9DD456
analogous
#565ED4 #8D56D4 #CC56D4
triadic
#8D56D4 #D48D56 #56D48D
tetradic
#8D56D4 #D4565E #9DD456 #56D4CC
square
#8D56D4 #D4565E #9DD456 #56D4CC
split-complementary
#8D56D4 #D4CC56 #5ED456
monochromatic
#51248C #6D30BD #8D56D4 #AE87E0 #CFB8ED

Accessibility & contrast

On white

4.76
#8D56D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8D56D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56D4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56D4#FFFFFF#000000##FFFFFF
##8D56D41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C72D8
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#7E708D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d56d4;
/* rgb */ color: rgb(141, 86, 212);
/* oklch */ color: oklch(57.5% 0.187 300.8);
Tailwind
colors: {
  custom: {
    50: '#b388e2',
    500: '#8d56d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d56d4;
$custom-light: #b388e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56d4",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 266.19,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.18727,
    "h": 300.8
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#8D56D4
secondary
#C6DCAA
accent
#E3459E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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