#8D56EC#8D56EC

#8D56EC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.215 H 296.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D56EC
RGBrgb(141, 86, 236)
HSLhsl(262, 80%, 63%)
HSVhsv(262, 64%, 93%)
CMYKcmyk(40.3%, 63.6%, 0%, 7.5%)
CIE-LABlab(49.95, 54.08, -67.77)
CIE-LCHlch(49.95, 86.70, 308.59°)
OKLaboklab(59.19% 0.0944 -0.1933)
OKLCHoklch(59.19% 0.215 296)
XYZxyz(29.4487, 18.3738, 81.3356)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56EC #B5EC56
analogous
#566AEC #8D56EC #D856EC
triadic
#8D56EC #EC8D56 #56EC8D
tetradic
#8D56EC #EC566A #B5EC56 #56ECD8
square
#8D56EC #EC566A #B5EC56 #56ECD8
split-complementary
#8D56EC #ECD856 #6AEC56
monochromatic
#4F14B3 #681FE6 #8D56EC #B28DF2 #D7C4F8

Accessibility & contrast

On white

4.49
#8D56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8D56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56EC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56EC#FFFFFF#000000##000000
##8D56EC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#757999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d56ec;
/* rgb */ color: rgb(141, 86, 236);
/* oklch */ color: oklch(59.2% 0.215 296.0);
Tailwind
colors: {
  custom: {
    50: '#b589f3',
    500: '#8d56ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ec;
$custom-light: #b589f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ec",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 262,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.2151,
    "h": 296
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#8D56EC
secondary
#D6EAB4
accent
#DC098F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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