#8B57CC#8B57CC

#8B57CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.176 H 301.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B57CC
RGBrgb(139, 87, 204)
HSLhsl(267, 53%, 57%)
HSVhsv(267, 57%, 80%)
CMYKcmyk(31.9%, 57.4%, 0%, 20%)
CIE-LABlab(47.84, 45.00, -53.01)
CIE-LCHlch(47.84, 69.54, 310.33°)
OKLaboklab(56.94% 0.0921 -0.15)
OKLCHoklch(56.94% 0.176 301.5)
XYZxyz(24.9522, 16.6649, 59.0171)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57CC #98CC57
analogous
#575DCC #8B57CC #C657CC
triadic
#8B57CC #CC8B57 #57CC8B
tetradic
#8B57CC #CC575D #98CC57 #57CCC6
square
#8B57CC #CC575D #98CC57 #57CCC6
split-complementary
#8B57CC #CCC657 #5DCC57
monochromatic
#4F2781 #6C36B0 #8B57CC #AB86DA #CCB5E9

Accessibility & contrast

On white

4.85
#8B57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8B57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57CC#FFFFFF#000000##FFFFFF
##8B57CC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#7E6F89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b57cc;
/* rgb */ color: rgb(139, 87, 204);
/* oklch */ color: oklch(56.9% 0.176 301.5);
Tailwind
colors: {
  custom: {
    50: '#b188dc',
    500: '#8b57cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b57cc;
$custom-light: #b188dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57cc",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 266.667,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.17597,
    "h": 301.5
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#8B57CC
secondary
#C2D7A8
accent
#DD4B9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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