#8D56CB#8D56CB

#8D56CB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.177 H 302.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D56CB
RGBrgb(141, 86, 203)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(30.5%, 57.6%, 0%, 20.4%)
CIE-LABlab(47.79, 45.78, -52.49)
CIE-LCHlch(47.79, 69.65, 311.09°)
OKLaboklab(56.93% 0.0959 -0.1484)
OKLCHoklch(56.93% 0.177 302.9)
XYZxyz(25.0893, 16.6301, 58.3765)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56CB #94CB56
analogous
#565ACB #8D56CB #C756CB
triadic
#8D56CB #CB8D56 #56CB8D
tetradic
#8D56CB #CB565A #94CB56 #56CBC7
square
#8D56CB #CB565A #94CB56 #56CBC7
split-complementary
#8D56CB #CBC756 #5ACB56
monochromatic
#51277F #6E36AE #8D56CB #AD85D9 #CCB4E8

Accessibility & contrast

On white

4.85
#8D56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8D56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56CB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56CB#FFFFFF#000000##FFFFFF
##8D56CB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#816D88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d56cb;
/* rgb */ color: rgb(141, 86, 203);
/* oklch */ color: oklch(56.9% 0.177 302.9);
Tailwind
colors: {
  custom: {
    50: '#b288db',
    500: '#8d56cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d56cb;
$custom-light: #b288db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56cb",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 268.205,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.17668,
    "h": 302.9
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#8D56CB
secondary
#C0D6A6
accent
#DC4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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