#8B57AD#8B57AD

#8B57AD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.139 H 310.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8B57AD
RGBrgb(139, 87, 173)
HSLhsl(276, 34%, 51%)
HSVhsv(276, 50%, 68%)
CMYKcmyk(19.7%, 49.7%, 0%, 32.2%)
CIE-LABlab(46.07, 37.55, -37.81)
CIE-LCHlch(46.07, 53.29, 314.81°)
OKLaboklab(55.07% 0.0901 -0.1055)
OKLCHoklch(55.07% 0.139 310.5)
XYZxyz(21.5971, 15.3229, 41.3469)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57AD #79AD57
analogous
#6057AD #8B57AD #AD57A4
triadic
#8B57AD #AD8B57 #57AD8B
tetradic
#8B57AD #AD6057 #79AD57 #57A4AD
square
#8B57AD #AD6057 #79AD57 #57A4AD
split-complementary
#8B57AD #A4AD57 #57AD60
monochromatic
#4A2D5C #6B4186 #8B57AD #A780C1 #C4A9D5

Accessibility & contrast

On white

5.17
#8B57AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8B57AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57AD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57AD#FFFFFF#000000##FFFFFF
##8B57AD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#87657A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b57ad;
/* rgb */ color: rgb(139, 87, 173);
/* oklch */ color: oklch(55.1% 0.139 310.5);
Tailwind
colors: {
  custom: {
    50: '#af88c6',
    500: '#8b57ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b57ad;
$custom-light: #af88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57ad",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 276.279,
    "s": 34.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.1388,
    "h": 310.5
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#8B57AD
secondary
#ACC39D
accent
#CA5D88
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8B57AD

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

Preview Lab → · Contrast checker → · Palette generator →

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