#8857EC#8857EC

#8857EC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.213 H 294.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8857EC
RGBrgb(136, 87, 236)
HSLhsl(260, 80%, 63%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(42.4%, 63.1%, 0%, 7.5%)
CIE-LABlab(49.62, 52.57, -68.31)
CIE-LCHlch(49.62, 86.20, 307.58°)
OKLaboklab(58.84% 0.0867 -0.195)
OKLCHoklch(58.84% 0.213 294)
XYZxyz(28.6978, 18.1060, 81.3234)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857EC #BBEC57
analogous
#5770EC #8857EC #D357EC
triadic
#8857EC #EC8857 #57EC88
tetradic
#8857EC #EC5770 #BBEC57 #57ECD3
square
#8857EC #EC5770 #BBEC57 #57ECD3
split-complementary
#8857EC #ECD357 #70EC57
monochromatic
#4914B4 #6120E6 #8857EC #AF8EF2 #D6C5F8

Accessibility & contrast

On white

4.54
#8857EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8857EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8857EC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857EC#FFFFFF#000000##000000
##8857EC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#6D7A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8857ec;
/* rgb */ color: rgb(136, 87, 236);
/* oklch */ color: oklch(58.8% 0.213 294.0);
Tailwind
colors: {
  custom: {
    50: '#b189f3',
    500: '#8857ec',
    950: '#000000',
  },
}
SCSS
$custom: #8857ec;
$custom-light: #b189f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8857ec",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 259.732,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.21345,
    "h": 294
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#8857EC
secondary
#D8EAB5
accent
#DC0A97
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8857EC

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

Preview Lab → · Contrast checker → · Palette generator →

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