#8857DF#8857DF

#8857DF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.198 H 296.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8857DF
RGBrgb(136, 87, 223)
HSLhsl(262, 68%, 61%)
HSVhsv(262, 61%, 87%)
CMYKcmyk(39%, 61%, 0%, 12.5%)
CIE-LABlab(48.73, 49.17, -62.42)
CIE-LCHlch(48.73, 79.46, 308.23°)
OKLaboklab(57.91% 0.0877 -0.1777)
OKLCHoklch(57.91% 0.198 296.3)
XYZxyz(26.8774, 17.3778, 71.7359)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857DF #AEDF57
analogous
#576ADF #8857DF #CC57DF
triadic
#8857DF #DF8857 #57DF88
tetradic
#8857DF #DF576A #AEDF57 #57DFCC
square
#8857DF #DF576A #AEDF57 #57DFCC
split-complementary
#8857DF #DFCC57 #6ADF57
monochromatic
#4C1E9E #6528D1 #8857DF #AC8AE9 #D1BEF3

Accessibility & contrast

On white

4.69
#8857DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8857DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8857DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857DF#FFFFFF#000000##FFFFFF
##8857DF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0E72DC
Tritanopia (blue-blind)
#737593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8857df;
/* rgb */ color: rgb(136, 87, 223);
/* oklch */ color: oklch(57.9% 0.198 296.3);
Tailwind
colors: {
  custom: {
    50: '#b089ea',
    500: '#8857df',
    950: '#000000',
  },
}
SCSS
$custom: #8857df;
$custom-light: #b089ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8857df",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 261.618,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.19816,
    "h": 296.3
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#8857DF
secondary
#D0E3AF
accent
#D0168D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8857DF

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

Preview Lab → · Contrast checker → · Palette generator →

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