#8D57BC#8D57BC

#8D57BC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.157 H 306.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D57BC
RGBrgb(141, 87, 188)
HSLhsl(272, 43%, 54%)
HSVhsv(272, 54%, 74%)
CMYKcmyk(25%, 53.7%, 0%, 26.3%)
CIE-LABlab(47.12, 41.61, -44.90)
CIE-LCHlch(47.12, 61.22, 312.83°)
OKLaboklab(56.16% 0.0941 -0.1262)
OKLCHoklch(56.16% 0.157 306.7)
XYZxyz(23.4679, 16.1102, 49.4405)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57BC #86BC57
analogous
#5B57BC #8D57BC #BC57B9
triadic
#8D57BC #BC8D57 #57BC8D
tetradic
#8D57BC #BC5B57 #86BC57 #57B9BC
square
#8D57BC #BC5B57 #86BC57 #57B9BC
split-complementary
#8D57BC #B9BC57 #57BC5B
monochromatic
#4F2C6D #6E3D99 #8D57BC #AB83CD #C8AFDF

Accessibility & contrast

On white

4.97
#8D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57BC#FFFFFF#000000##FFFFFF
##8D57BC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#866981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d57bc;
/* rgb */ color: rgb(141, 87, 188);
/* oklch */ color: oklch(56.2% 0.157 306.7);
Tailwind
colors: {
  custom: {
    50: '#b188d1',
    500: '#8d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d57bc;
$custom-light: #b188d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57bc",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 272.079,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.15737,
    "h": 306.7
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#8D57BC
secondary
#B6CDA2
accent
#D35590
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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