#8D56CA#8D56CA

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

Color values

HEX#8D56CA
RGBrgb(141, 86, 202)
HSLhsl(268, 52%, 56%)
HSVhsv(268, 57%, 79%)
CMYKcmyk(30.2%, 57.4%, 0%, 20.8%)
CIE-LABlab(47.73, 45.54, -52.01)
CIE-LCHlch(47.73, 69.13, 311.20°)
OKLaboklab(56.87% 0.0959 -0.147)
OKLCHoklch(56.87% 0.176 303.1)
XYZxyz(24.9706, 16.5826, 57.7509)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56CA #93CA56
analogous
#5659CA #8D56CA #C756CA
triadic
#8D56CA #CA8D56 #56CA8D
tetradic
#8D56CA #CA5659 #93CA56 #56CAC7
square
#8D56CA #CA5659 #93CA56 #56CAC7
split-complementary
#8D56CA #CAC756 #59CA56
monochromatic
#51287E #6E36AD #8D56CA #AC85D9 #CCB3E7

Accessibility & contrast

On white

4.86
#8D56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8D56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56CA#FFFFFF#000000##FFFFFF
##8D56CA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#826D88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d56ca;
/* rgb */ color: rgb(141, 86, 202);
/* oklch */ color: oklch(56.9% 0.176 303.1);
Tailwind
colors: {
  custom: {
    50: '#b288db',
    500: '#8d56ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ca;
$custom-light: #b288db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ca",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 268.448,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.17551,
    "h": 303.1
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#8D56CA
secondary
#BFD6A6
accent
#DC4C98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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