#8857E7#8857E7

#8857E7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.208 H 294.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8857E7
RGBrgb(136, 87, 231)
HSLhsl(260, 75%, 62%)
HSVhsv(260, 62%, 91%)
CMYKcmyk(41.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(49.28, 51.26, -66.06)
CIE-LCHlch(49.28, 83.62, 307.81°)
OKLaboklab(58.48% 0.0871 -0.1884)
OKLCHoklch(58.48% 0.208 294.8)
XYZxyz(27.9815, 17.8195, 77.5511)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857E7 #B6E757
analogous
#576EE7 #8857E7 #D057E7
triadic
#8857E7 #E78857 #57E788
tetradic
#8857E7 #E7576E #B6E757 #57E7D0
square
#8857E7 #E7576E #B6E757 #57E7D0
split-complementary
#8857E7 #E7D057 #6EE757
monochromatic
#4A18AB #6221DF #8857E7 #AE8DEF #D4C2F6

Accessibility & contrast

On white

4.60
#8857E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8857E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8857E7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857E7#FFFFFF#000000##FFFFFF
##8857E71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#6F7897
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8857e7;
/* rgb */ color: rgb(136, 87, 231);
/* oklch */ color: oklch(58.5% 0.208 294.8);
Tailwind
colors: {
  custom: {
    50: '#b189ef',
    500: '#8857e7',
    950: '#000000',
  },
}
SCSS
$custom: #8857e7;
$custom-light: #b189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8857e7",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 260.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.2076,
    "h": 294.8
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#8857E7
secondary
#D5E7B3
accent
#D70E93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8857E7

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

Preview Lab → · Contrast checker → · Palette generator →

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