#8857EB#8857EB

#8857EB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.212 H 294.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8857EB
RGBrgb(136, 87, 235)
HSLhsl(260, 79%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(42.1%, 63%, 0%, 7.8%)
CIE-LABlab(49.55, 52.31, -67.87)
CIE-LCHlch(49.55, 85.68, 307.62°)
OKLaboklab(58.76% 0.0868 -0.1937)
OKLCHoklch(58.76% 0.212 294.1)
XYZxyz(28.5529, 18.0481, 80.5604)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857EB #BAEB57
analogous
#5770EB #8857EB #D257EB
triadic
#8857EB #EB8857 #57EB88
tetradic
#8857EB #EB5770 #BAEB57 #57EBD2
square
#8857EB #EB5770 #BAEB57 #57EBD2
split-complementary
#8857EB #EBD257 #70EB57
monochromatic
#4915B2 #6120E4 #8857EB #AF8EF2 #D5C4F8

Accessibility & contrast

On white

4.56
#8857EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8857EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8857EB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857EB#FFFFFF#000000##000000
##8857EB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#6D7999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8857eb;
/* rgb */ color: rgb(136, 87, 235);
/* oklch */ color: oklch(58.8% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#b189f2',
    500: '#8857eb',
    950: '#000000',
  },
}
SCSS
$custom: #8857eb;
$custom-light: #b189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8857eb",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 259.865,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.21229,
    "h": 294.1
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#8857EB
secondary
#D8E9B4
accent
#DB0A96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8857EB

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

Preview Lab → · Contrast checker → · Palette generator →

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