#8D57BB#8D57BB

#8D57BB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.156 H 307.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D57BB
RGBrgb(141, 87, 187)
HSLhsl(272, 42%, 54%)
HSVhsv(272, 53%, 73%)
CMYKcmyk(24.6%, 53.5%, 0%, 26.7%)
CIE-LABlab(47.06, 41.38, -44.41)
CIE-LCHlch(47.06, 60.69, 312.98°)
OKLaboklab(56.1% 0.094 -0.1247)
OKLCHoklch(56.1% 0.156 307)
XYZxyz(23.3605, 16.0672, 48.8747)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57BB #85BB57
analogous
#5B57BB #8D57BB #BB57B7
triadic
#8D57BB #BB8D57 #57BB8D
tetradic
#8D57BB #BB5B57 #85BB57 #57B7BB
square
#8D57BB #BB5B57 #85BB57 #57B7BB
split-complementary
#8D57BB #B7BB57 #57BB5B
monochromatic
#4E2C6C #6E3D97 #8D57BB #AB83CD #C8AEDE

Accessibility & contrast

On white

4.98
#8D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8D57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57BB#FFFFFF#000000##FFFFFF
##8D57BB1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#866981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d57bb;
/* rgb */ color: rgb(141, 87, 187);
/* oklch */ color: oklch(56.1% 0.156 307.0);
Tailwind
colors: {
  custom: {
    50: '#b188d0',
    500: '#8d57bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d57bb;
$custom-light: #b188d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57bb",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 272.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.15618,
    "h": 307
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#8D57BB
secondary
#B5CCA2
accent
#D2568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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