#8D57DF#8D57DF

#8D57DF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.199 H 298.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D57DF
RGBrgb(141, 87, 223)
HSLhsl(264, 68%, 61%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.8%, 61%, 0%, 12.5%)
CIE-LABlab(49.26, 50.24, -61.54)
CIE-LCHlch(49.26, 79.44, 309.23°)
OKLaboklab(58.41% 0.0942 -0.175)
OKLCHoklch(58.41% 0.199 298.3)
XYZxyz(27.7086, 17.8065, 71.7749)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57DF #A9DF57
analogous
#5765DF #8D57DF #D157DF
triadic
#8D57DF #DF8D57 #57DF8D
tetradic
#8D57DF #DF5765 #A9DF57 #57DFD1
square
#8D57DF #DF5765 #A9DF57 #57DFD1
split-complementary
#8D57DF #DFD157 #65DF57
monochromatic
#511E9E #6B28D1 #8D57DF #B08AE9 #D3BEF3

Accessibility & contrast

On white

4.60
#8D57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57DF#FFFFFF#000000##FFFFFF
##8D57DF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#7A7593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d57df;
/* rgb */ color: rgb(141, 87, 223);
/* oklch */ color: oklch(58.4% 0.199 298.3);
Tailwind
colors: {
  custom: {
    50: '#b389ea',
    500: '#8d57df',
    950: '#000000',
  },
}
SCSS
$custom: #8d57df;
$custom-light: #b389ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57df",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 263.824,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58413,
    "c": 0.19873,
    "h": 298.3
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#8D57DF
secondary
#CEE3AF
accent
#D01686
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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