#8B57DC#8B57DC

#8B57DC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.195 H 298.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8B57DC
RGBrgb(139, 87, 220)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 60%, 86%)
CMYKcmyk(36.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(48.85, 49.04, -60.51)
CIE-LCHlch(48.85, 77.89, 309.02°)
OKLaboklab(58% 0.0917 -0.172)
OKLCHoklch(58% 0.195 298.1)
XYZxyz(26.9707, 17.4723, 69.6478)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57DC #A8DC57
analogous
#5765DC #8B57DC #CE57DC
triadic
#8B57DC #DC8B57 #57DC8B
tetradic
#8B57DC #DC5765 #A8DC57 #57DCCE
square
#8B57DC #DC5765 #A8DC57 #57DCCE
split-complementary
#8B57DC #DCCE57 #65DC57
monochromatic
#4F2099 #692ACB #8B57DC #AE8AE7 #D1BCF1

Accessibility & contrast

On white

4.67
#8B57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8B57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57DC#FFFFFF#000000##FFFFFF
##8B57DC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#787491
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b57dc;
/* rgb */ color: rgb(139, 87, 220);
/* oklch */ color: oklch(58.0% 0.195 298.1);
Tailwind
colors: {
  custom: {
    50: '#b289e8',
    500: '#8b57dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b57dc;
$custom-light: #b289e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57dc",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 263.459,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.19495,
    "h": 298.1
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#8B57DC
secondary
#CDE1AE
accent
#CD1887
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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