#8756EC#8756EC

#8756EC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.215 H 293.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8756EC
RGBrgb(135, 86, 236)
HSLhsl(260, 80%, 63%)
HSVhsv(260, 64%, 93%)
CMYKcmyk(42.8%, 63.6%, 0%, 7.5%)
CIE-LABlab(49.33, 52.90, -68.80)
CIE-LCHlch(49.33, 86.79, 307.56°)
OKLaboklab(58.6% 0.0864 -0.1965)
OKLCHoklch(58.6% 0.215 293.7)
XYZxyz(28.4557, 17.8618, 81.2890)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8756EC #BBEC56
analogous
#5670EC #8756EC #D256EC
triadic
#8756EC #EC8756 #56EC87
tetradic
#8756EC #EC5670 #BBEC56 #56ECD2
square
#8756EC #EC5670 #BBEC56 #56ECD2
split-complementary
#8756EC #ECD256 #70EC56
monochromatic
#4814B3 #601FE6 #8756EC #AE8DF2 #D5C4F8

Accessibility & contrast

On white

4.59
#8756EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8756EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8756EC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8756EC#FFFFFF#000000##FFFFFF
##8756EC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#6B7999
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8756ec;
/* rgb */ color: rgb(135, 86, 236);
/* oklch */ color: oklch(58.6% 0.215 293.7);
Tailwind
colors: {
  custom: {
    50: '#b188f3',
    500: '#8756ec',
    950: '#000000',
  },
}
SCSS
$custom: #8756ec;
$custom-light: #b188f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8756ec",
  "rgb": {
    "r": 135,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 259.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.21468,
    "h": 293.7
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#8756EC
secondary
#D8EAB4
accent
#DC0997
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8756EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8756EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva