#8D56D7#8D56D7

#8D56D7 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.191 H 300.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D56D7
RGBrgb(141, 86, 215)
HSLhsl(266, 62%, 59%)
HSVhsv(266, 60%, 84%)
CMYKcmyk(34.4%, 60%, 0%, 15.7%)
CIE-LABlab(48.54, 48.75, -58.15)
CIE-LCHlch(48.54, 75.89, 309.97°)
OKLaboklab(57.72% 0.0957 -0.165)
OKLCHoklch(57.72% 0.191 300.1)
XYZxyz(26.5751, 17.2244, 66.2014)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56D7 #A0D756
analogous
#5660D7 #8D56D7 #CD56D7
triadic
#8D56D7 #D78D56 #56D78D
tetradic
#8D56D7 #D75660 #A0D756 #56D7CD
square
#8D56D7 #D75660 #A0D756 #56D7CD
split-complementary
#8D56D7 #D7CD56 #60D756
monochromatic
#512290 #6D2EC2 #8D56D7 #AE87E3 #D0B9EE

Accessibility & contrast

On white

4.72
#8D56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8D56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56D7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56D7#FFFFFF#000000##FFFFFF
##8D56D71.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#7D718E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d56d7;
/* rgb */ color: rgb(141, 86, 215);
/* oklch */ color: oklch(57.7% 0.191 300.1);
Tailwind
colors: {
  custom: {
    50: '#b388e4',
    500: '#8d56d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d56d7;
$custom-light: #b388e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56d7",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 265.581,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.19077,
    "h": 300.1
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#8D56D7
secondary
#C8DEAB
accent
#E543A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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