#8B57CE#8B57CE

#8B57CE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.178 H 301.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B57CE
RGBrgb(139, 87, 206)
HSLhsl(266, 55%, 57%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(32.5%, 57.8%, 0%, 19.2%)
CIE-LABlab(47.96, 45.50, -53.96)
CIE-LCHlch(47.96, 70.58, 310.14°)
OKLaboklab(57.07% 0.0921 -0.1528)
OKLCHoklch(57.07% 0.178 301.1)
XYZxyz(25.1936, 16.7615, 60.2885)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57CE #9ACE57
analogous
#575FCE #8B57CE #C657CE
triadic
#8B57CE #CE8B57 #57CE8B
tetradic
#8B57CE #CE575F #9ACE57 #57CEC6
square
#8B57CE #CE575F #9ACE57 #57CEC6
split-complementary
#8B57CE #CEC657 #5FCE57
monochromatic
#4F2784 #6C34B3 #8B57CE #AC86DC #CCB6EA

Accessibility & contrast

On white

4.82
#8B57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8B57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57CE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57CE#FFFFFF#000000##FFFFFF
##8B57CE1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b57ce;
/* rgb */ color: rgb(139, 87, 206);
/* oklch */ color: oklch(57.1% 0.178 301.1);
Tailwind
colors: {
  custom: {
    50: '#b188de',
    500: '#8b57ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b57ce;
$custom-light: #b188de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57ce",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 266.218,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.17836,
    "h": 301.1
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#8B57CE
secondary
#C3D8A8
accent
#DE4A9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B57CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8B57CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva