#8D57C8#8D57C8

#8D57C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.172 H 303.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D57C8
RGBrgb(141, 87, 200)
HSLhsl(269, 51%, 56%)
HSVhsv(269, 57%, 78%)
CMYKcmyk(29.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(47.82, 44.51, -50.73)
CIE-LCHlch(47.82, 67.48, 311.26°)
OKLaboklab(56.89% 0.0946 -0.1432)
OKLCHoklch(56.89% 0.172 303.4)
XYZxyz(24.8157, 16.6493, 56.5387)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57C8 #92C857
analogous
#575AC8 #8D57C8 #C657C8
triadic
#8D57C8 #C88D57 #57C88D
tetradic
#8D57C8 #C8575A #92C857 #57C8C6
square
#8D57C8 #C8575A #92C857 #57C8C6
split-complementary
#8D57C8 #C8C657 #5AC857
monochromatic
#50297C #6E38AA #8D57C8 #AC85D7 #CCB3E6

Accessibility & contrast

On white

4.85
#8D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8D57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57C8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57C8#FFFFFF#000000##FFFFFF
##8D57C81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#826D87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d57c8;
/* rgb */ color: rgb(141, 87, 200);
/* oklch */ color: oklch(56.9% 0.172 303.4);
Tailwind
colors: {
  custom: {
    50: '#b288d9',
    500: '#8d57c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d57c8;
$custom-light: #b288d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57c8",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 268.673,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.17164,
    "h": 303.4
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#8D57C8
secondary
#BED5A6
accent
#DA4E97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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