#8857DB#8857DB

#8857DB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.193 H 297.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8857DB
RGBrgb(136, 87, 219)
HSLhsl(262, 65%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(37.9%, 60.3%, 0%, 14.1%)
CIE-LABlab(48.47, 48.13, -60.58)
CIE-LCHlch(48.47, 77.37, 308.47°)
OKLaboklab(57.63% 0.0879 -0.1723)
OKLCHoklch(57.63% 0.193 297)
XYZxyz(26.3445, 17.1647, 68.9292)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857DB #AADB57
analogous
#5768DB #8857DB #CA57DB
triadic
#8857DB #DB8857 #57DB88
tetradic
#8857DB #DB5768 #AADB57 #57DBCA
square
#8857DB #DB5768 #AADB57 #57DBCA
split-complementary
#8857DB #DBCA57 #68DB57
monochromatic
#4D2097 #662BCA #8857DB #AC89E6 #CFBCF1

Accessibility & contrast

On white

4.74
#8857DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8857DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8857DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857DB#FFFFFF#000000##FFFFFF
##8857DB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#747491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8857db;
/* rgb */ color: rgb(136, 87, 219);
/* oklch */ color: oklch(57.6% 0.193 297.0);
Tailwind
colors: {
  custom: {
    50: '#b088e7',
    500: '#8857db',
    950: '#000000',
  },
}
SCSS
$custom: #8857db;
$custom-light: #b088e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8857db",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 262.273,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.19341,
    "h": 297
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#8857DB
secondary
#CDE0AD
accent
#E840A9
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8857DB

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

Preview Lab → · Contrast checker → · Palette generator →

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