#8D57BE#8D57BE

#8D57BE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.160 H 306.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D57BE
RGBrgb(141, 87, 190)
HSLhsl(271, 44%, 54%)
HSVhsv(271, 54%, 75%)
CMYKcmyk(25.8%, 54.2%, 0%, 25.5%)
CIE-LABlab(47.23, 42.09, -45.88)
CIE-LCHlch(47.23, 62.26, 312.53°)
OKLaboklab(56.28% 0.0942 -0.129)
OKLCHoklch(56.28% 0.16 306.1)
XYZxyz(23.6850, 16.1970, 50.5838)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57BE #88BE57
analogous
#5A57BE #8D57BE #BE57BC
triadic
#8D57BE #BE8D57 #57BE8D
tetradic
#8D57BE #BE5A57 #88BE57 #57BCBE
square
#8D57BE #BE5A57 #88BE57 #57BCBE
split-complementary
#8D57BE #BCBE57 #57BE5A
monochromatic
#4F2B6F #6E3C9C #8D57BE #AB83CF #C9AFE0

Accessibility & contrast

On white

4.95
#8D57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8D57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57BE#FFFFFF#000000##FFFFFF
##8D57BE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#856A82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d57be;
/* rgb */ color: rgb(141, 87, 190);
/* oklch */ color: oklch(56.3% 0.160 306.1);
Tailwind
colors: {
  custom: {
    50: '#b188d2',
    500: '#8d57be',
    950: '#000000',
  },
}
SCSS
$custom: #8d57be;
$custom-light: #b188d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57be",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 271.456,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.15975,
    "h": 306.1
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#8D57BE
secondary
#B7CEA3
accent
#D45491
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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