#8D57DD#8D57DD

#8D57DD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.196 H 298.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D57DD
RGBrgb(141, 87, 221)
HSLhsl(264, 66%, 60%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.2%, 60.6%, 0%, 13.3%)
CIE-LABlab(49.13, 49.73, -60.62)
CIE-LCHlch(49.13, 78.41, 309.37°)
OKLaboklab(58.28% 0.0943 -0.1723)
OKLCHoklch(58.28% 0.196 298.7)
XYZxyz(27.4406, 17.6992, 70.3632)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57DD #A7DD57
analogous
#5764DD #8D57DD #D057DD
triadic
#8D57DD #DD8D57 #57DD8D
tetradic
#8D57DD #DD5764 #A7DD57 #57DDD0
square
#8D57DD #DD5764 #A7DD57 #57DDD0
split-complementary
#8D57DD #DDD057 #64DD57
monochromatic
#511F9A #6C2ACD #8D57DD #B08AE7 #D2BDF2

Accessibility & contrast

On white

4.63
#8D57DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8D57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57DD#FFFFFF#000000##FFFFFF
##8D57DD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2173DA
Tritanopia (blue-blind)
#7B7492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d57dd;
/* rgb */ color: rgb(141, 87, 221);
/* oklch */ color: oklch(58.3% 0.196 298.7);
Tailwind
colors: {
  custom: {
    50: '#b389e8',
    500: '#8d57dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d57dd;
$custom-light: #b389e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57dd",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 264.179,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.1964,
    "h": 298.7
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#8D57DD
secondary
#CDE1AE
accent
#CE1784
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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