#8857E4#8857E4

#8857E4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.204 H 295.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8857E4
RGBrgb(136, 87, 228)
HSLhsl(261, 72%, 62%)
HSVhsv(261, 62%, 89%)
CMYKcmyk(40.4%, 61.8%, 0%, 10.6%)
CIE-LABlab(49.07, 50.47, -64.70)
CIE-LCHlch(49.07, 82.06, 307.95°)
OKLaboklab(58.26% 0.0873 -0.1844)
OKLCHoklch(58.26% 0.204 295.3)
XYZxyz(27.5614, 17.6515, 75.3387)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857E4 #B3E457
analogous
#576DE4 #8857E4 #CF57E4
triadic
#8857E4 #E48857 #57E488
tetradic
#8857E4 #E4576D #B3E457 #57E4CF
square
#8857E4 #E4576D #B3E457 #57E4CF
split-complementary
#8857E4 #E4CF57 #6DE457
monochromatic
#4B1BA6 #6323DB #8857E4 #AD8CEC #D3C0F5

Accessibility & contrast

On white

4.64
#8857E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8857E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8857E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857E4#FFFFFF#000000##FFFFFF
##8857E41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#707796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8857e4;
/* rgb */ color: rgb(136, 87, 228);
/* oklch */ color: oklch(58.3% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#b189ed',
    500: '#8857e4',
    950: '#000000',
  },
}
SCSS
$custom: #8857e4;
$custom-light: #b189ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8857e4",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 260.851,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.20407,
    "h": 295.3
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#8857E4
secondary
#D3E6B1
accent
#D41191
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8857E4

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

Preview Lab → · Contrast checker → · Palette generator →

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