#8857CF#8857CF

#8857CF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.179 H 299.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8857CF
RGBrgb(136, 87, 207)
HSLhsl(265, 56%, 58%)
HSVhsv(265, 58%, 81%)
CMYKcmyk(34.3%, 58%, 0%, 18.8%)
CIE-LABlab(47.69, 45.05, -54.97)
CIE-LCHlch(47.69, 71.07, 309.33°)
OKLaboklab(56.82% 0.0882 -0.1558)
OKLCHoklch(56.82% 0.179 299.5)
XYZxyz(24.8213, 16.5554, 60.9072)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857CF #9ECF57
analogous
#5762CF #8857CF #C457CF
triadic
#8857CF #CF8857 #57CF88
tetradic
#8857CF #CF5762 #9ECF57 #57CFC4
square
#8857CF #CF5762 #9ECF57 #57CFC4
split-complementary
#8857CF #CFC457 #62CF57
monochromatic
#4D2685 #6934B5 #8857CF #AA87DD #CBB6EA

Accessibility & contrast

On white

4.87
#8857CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8857CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8857CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857CF#FFFFFF#000000##FFFFFF
##8857CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#79708B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8857cf;
/* rgb */ color: rgb(136, 87, 207);
/* oklch */ color: oklch(56.8% 0.179 299.5);
Tailwind
colors: {
  custom: {
    50: '#af88de',
    500: '#8857cf',
    950: '#000000',
  },
}
SCSS
$custom: #8857cf;
$custom-light: #af88de;
$custom-dark: #000000;
JSON
{
  "hex": "#8857cf",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 264.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.17904,
    "h": 299.5
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#8857CF
secondary
#C5D9A9
accent
#DF49A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8857CF

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

Preview Lab → · Contrast checker → · Palette generator →

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