#8D56D5#8D56D5

#8D56D5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.188 H 300.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D56D5
RGBrgb(141, 86, 213)
HSLhsl(266, 60%, 59%)
HSVhsv(266, 60%, 84%)
CMYKcmyk(33.8%, 59.6%, 0%, 16.5%)
CIE-LABlab(48.41, 48.25, -57.22)
CIE-LCHlch(48.41, 74.85, 310.14°)
OKLaboklab(57.59% 0.0958 -0.1623)
OKLCHoklch(57.59% 0.188 300.5)
XYZxyz(26.3197, 17.1222, 64.8562)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56D5 #9ED556
analogous
#565ED5 #8D56D5 #CC56D5
triadic
#8D56D5 #D58D56 #56D58D
tetradic
#8D56D5 #D5565E #9ED556 #56D5CC
square
#8D56D5 #D5565E #9ED556 #56D5CC
split-complementary
#8D56D5 #D5CC56 #5ED556
monochromatic
#51238D #6D2FBE #8D56D5 #AE87E1 #CFB8ED

Accessibility & contrast

On white

4.75
#8D56D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D56D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56D5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56D5#FFFFFF#000000##FFFFFF
##8D56D51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0772D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#7E718D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d56d5;
/* rgb */ color: rgb(141, 86, 213);
/* oklch */ color: oklch(57.6% 0.188 300.5);
Tailwind
colors: {
  custom: {
    50: '#b388e3',
    500: '#8d56d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d56d5;
$custom-light: #b388e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56d5",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 265.984,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.18844,
    "h": 300.5
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#8D56D5
secondary
#C7DDAA
accent
#E3449F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8D56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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