#8B57DD#8B57DD

#8B57DD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.196 H 297.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B57DD
RGBrgb(139, 87, 221)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.1%, 60.6%, 0%, 13.3%)
CIE-LABlab(48.92, 49.30, -60.98)
CIE-LCHlch(48.92, 78.41, 308.95°)
OKLaboklab(58.07% 0.0917 -0.1734)
OKLCHoklch(58.07% 0.196 297.9)
XYZxyz(27.1035, 17.5254, 70.3474)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57DD #A9DD57
analogous
#5766DD #8B57DD #CE57DD
triadic
#8B57DD #DD8B57 #57DD8B
tetradic
#8B57DD #DD5766 #A9DD57 #57DDCE
square
#8B57DD #DD5766 #A9DD57 #57DDCE
split-complementary
#8B57DD #DDCE57 #66DD57
monochromatic
#4F1F9A #692ACD #8B57DD #AE8AE7 #D1BDF2

Accessibility & contrast

On white

4.66
#8B57DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8B57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57DD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57DD#FFFFFF#000000##FFFFFF
##8B57DD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#787492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b57dd;
/* rgb */ color: rgb(139, 87, 221);
/* oklch */ color: oklch(58.1% 0.196 297.9);
Tailwind
colors: {
  custom: {
    50: '#b289e8',
    500: '#8b57dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b57dd;
$custom-light: #b289e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57dd",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 263.284,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.19613,
    "h": 297.9
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#8B57DD
secondary
#CEE1AE
accent
#CE1787
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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