#8857DC#8857DC

#8857DC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.195 H 296.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8857DC
RGBrgb(136, 87, 220)
HSLhsl(262, 66%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(38.2%, 60.5%, 0%, 13.7%)
CIE-LABlab(48.53, 48.39, -61.04)
CIE-LCHlch(48.53, 77.89, 308.40°)
OKLaboklab(57.7% 0.0878 -0.1737)
OKLCHoklch(57.7% 0.195 296.8)
XYZxyz(26.4765, 17.2175, 69.6246)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857DC #ABDC57
analogous
#5769DC #8857DC #CA57DC
triadic
#8857DC #DC8857 #57DC88
tetradic
#8857DC #DC5769 #ABDC57 #57DCCA
square
#8857DC #DC5769 #ABDC57 #57DCCA
split-complementary
#8857DC #DCCA57 #69DC57
monochromatic
#4C2099 #662ACB #8857DC #AC8AE7 #D0BCF1

Accessibility & contrast

On white

4.73
#8857DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8857DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8857DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857DC#FFFFFF#000000##FFFFFF
##8857DC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#1872D9
Tritanopia (blue-blind)
#747491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8857dc;
/* rgb */ color: rgb(136, 87, 220);
/* oklch */ color: oklch(57.7% 0.195 296.8);
Tailwind
colors: {
  custom: {
    50: '#b088e8',
    500: '#8857dc',
    950: '#000000',
  },
}
SCSS
$custom: #8857dc;
$custom-light: #b088e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8857dc",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 262.105,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.19461,
    "h": 296.8
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#8857DC
secondary
#CEE1AE
accent
#CD188B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8857DC

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

Preview Lab → · Contrast checker → · Palette generator →

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