#8D57BF#8D57BF

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

Color values

HEX#8D57BF
RGBrgb(141, 87, 191)
HSLhsl(271, 45%, 55%)
HSVhsv(271, 54%, 75%)
CMYKcmyk(26.2%, 54.5%, 0%, 25.1%)
CIE-LABlab(47.29, 42.33, -46.37)
CIE-LCHlch(47.29, 62.78, 312.39°)
OKLaboklab(56.34% 0.0943 -0.1304)
OKLCHoklch(56.34% 0.161 305.9)
XYZxyz(23.7947, 16.2409, 51.1614)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57BF #89BF57
analogous
#5957BF #8D57BF #BF57BD
triadic
#8D57BF #BF8D57 #57BF8D
tetradic
#8D57BF #BF5957 #89BF57 #57BDBF
square
#8D57BF #BF5957 #89BF57 #57BDBF
split-complementary
#8D57BF #BDBF57 #57BF59
monochromatic
#4F2B71 #6E3C9D #8D57BF #AB83D0 #C9B0E1

Accessibility & contrast

On white

4.94
#8D57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57BF#FFFFFF#000000##FFFFFF
##8D57BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#856A83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d57bf;
/* rgb */ color: rgb(141, 87, 191);
/* oklch */ color: oklch(56.3% 0.161 305.9);
Tailwind
colors: {
  custom: {
    50: '#b188d3',
    500: '#8d57bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d57bf;
$custom-light: #b188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57bf",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 271.154,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.16094,
    "h": 305.9
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#8D57BF
secondary
#B8CFA3
accent
#D55391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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