#8D56C8#8D56C8

#8D56C8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.173 H 303.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D56C8
RGBrgb(141, 86, 200)
HSLhsl(269, 51%, 56%)
HSVhsv(269, 57%, 78%)
CMYKcmyk(29.5%, 57%, 0%, 21.6%)
CIE-LABlab(47.61, 45.05, -51.06)
CIE-LCHlch(47.61, 68.09, 311.42°)
OKLaboklab(56.74% 0.0959 -0.1442)
OKLCHoklch(56.74% 0.173 303.6)
XYZxyz(24.7353, 16.4885, 56.5119)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56C8 #91C856
analogous
#5658C8 #8D56C8 #C656C8
triadic
#8D56C8 #C88D56 #56C88D
tetradic
#8D56C8 #C85658 #91C856 #56C8C6
square
#8D56C8 #C85658 #91C856 #56C8C6
split-complementary
#8D56C8 #C8C656 #58C856
monochromatic
#50287B #6E37AA #8D56C8 #AC84D7 #CBB2E6

Accessibility & contrast

On white

4.89
#8D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8D56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56C8#FFFFFF#000000##FFFFFF
##8D56C81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#826C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d56c8;
/* rgb */ color: rgb(141, 86, 200);
/* oklch */ color: oklch(56.7% 0.173 303.6);
Tailwind
colors: {
  custom: {
    50: '#b288d9',
    500: '#8d56c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d56c8;
$custom-light: #b288d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56c8",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 268.947,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.17315,
    "h": 303.6
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#8D56C8
secondary
#BED4A5
accent
#DA4D96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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