#8C56EC#8C56EC

#8C56EC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.215 H 295.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8C56EC
RGBrgb(140, 86, 236)
HSLhsl(262, 80%, 63%)
HSVhsv(262, 64%, 93%)
CMYKcmyk(40.7%, 63.6%, 0%, 7.5%)
CIE-LABlab(49.84, 53.88, -67.94)
CIE-LCHlch(49.84, 86.72, 308.42°)
OKLaboklab(59.09% 0.093 -0.1938)
OKLCHoklch(59.09% 0.215 295.6)
XYZxyz(29.2793, 18.2865, 81.3276)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C56EC #B6EC56
analogous
#566BEC #8C56EC #D756EC
triadic
#8C56EC #EC8C56 #56EC8C
tetradic
#8C56EC #EC566B #B6EC56 #56ECD7
square
#8C56EC #EC566B #B6EC56 #56ECD7
split-complementary
#8C56EC #ECD756 #6BEC56
monochromatic
#4E14B3 #671FE6 #8C56EC #B18DF2 #D7C4F8

Accessibility & contrast

On white

4.51
#8C56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8C56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C56EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C56EC#FFFFFF#000000##000000
##8C56EC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c56ec;
/* rgb */ color: rgb(140, 86, 236);
/* oklch */ color: oklch(59.1% 0.215 295.6);
Tailwind
colors: {
  custom: {
    50: '#b488f3',
    500: '#8c56ec',
    950: '#000000',
  },
}
SCSS
$custom: #8c56ec;
$custom-light: #b488f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c56ec",
  "rgb": {
    "r": 140,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 261.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.215,
    "h": 295.6
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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