#8D56D8#8D56D8

#8D56D8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.192 H 299.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D56D8
RGBrgb(141, 86, 216)
HSLhsl(265, 63%, 59%)
HSVhsv(265, 60%, 85%)
CMYKcmyk(34.7%, 60.2%, 0%, 15.3%)
CIE-LABlab(48.61, 49.01, -58.62)
CIE-LCHlch(48.61, 76.41, 309.89°)
OKLaboklab(57.79% 0.0957 -0.1664)
OKLCHoklch(57.79% 0.192 299.9)
XYZxyz(26.7040, 17.2759, 66.8801)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56D8 #A1D856
analogous
#5660D8 #8D56D8 #CE56D8
triadic
#8D56D8 #D88D56 #56D88D
tetradic
#8D56D8 #D85660 #A1D856 #56D8CE
square
#8D56D8 #D85660 #A1D856 #56D8CE
split-complementary
#8D56D8 #D8CE56 #60D856
monochromatic
#512292 #6D2DC4 #8D56D8 #AF88E3 #D0B9EF

Accessibility & contrast

On white

4.71
#8D56D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D56D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56D8#FFFFFF#000000##FFFFFF
##8D56D81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#2872D5
Tritanopia (blue-blind)
#7D728F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d56d8;
/* rgb */ color: rgb(141, 86, 216);
/* oklch */ color: oklch(57.8% 0.192 299.9);
Tailwind
colors: {
  custom: {
    50: '#b388e5',
    500: '#8d56d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d56d8;
$custom-light: #b388e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56d8",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 265.385,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.19194,
    "h": 299.9
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#8D56D8
secondary
#C9DEAB
accent
#E642A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D56D8

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

Preview Lab → · Contrast checker → · Palette generator →

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