#8857EF#8857EF

#8857EF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.217 H 293.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8857EF
RGBrgb(136, 87, 239)
HSLhsl(259, 83%, 64%)
HSVhsv(259, 64%, 94%)
CMYKcmyk(43.1%, 63.6%, 0%, 6.3%)
CIE-LABlab(49.84, 53.36, -69.66)
CIE-LCHlch(49.84, 87.75, 307.45°)
OKLaboklab(59.06% 0.0864 -0.199)
OKLCHoklch(59.06% 0.217 293.5)
XYZxyz(29.1373, 18.2818, 83.6382)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857EF #BEEF57
analogous
#5772EF #8857EF #D457EF
triadic
#8857EF #EF8857 #57EF88
tetradic
#8857EF #EF5772 #BEEF57 #57EFD4
square
#8857EF #EF5772 #BEEF57 #57EFD4
split-complementary
#8857EF #EFD457 #72EF57
monochromatic
#4812BA #601FEA #8857EF #B08FF4 #D7C7FA

Accessibility & contrast

On white

4.51
#8857EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8857EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8857EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857EF#FFFFFF#000000##000000
##8857EF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#6B7B9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8857ef;
/* rgb */ color: rgb(136, 87, 239);
/* oklch */ color: oklch(59.1% 0.217 293.5);
Tailwind
colors: {
  custom: {
    50: '#b289f5',
    500: '#8857ef',
    950: '#000000',
  },
}
SCSS
$custom: #8857ef;
$custom-light: #b289f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8857ef",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 259.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.21695,
    "h": 293.5
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#8857EF
secondary
#DAECB6
accent
#DF0699
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8857EF

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

Preview Lab → · Contrast checker → · Palette generator →

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