#8D57CD#8D57CD

#8D57CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.178 H 302.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D57CD
RGBrgb(141, 87, 205)
HSLhsl(267, 54%, 57%)
HSVhsv(267, 58%, 80%)
CMYKcmyk(31.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(48.12, 45.73, -53.12)
CIE-LCHlch(48.12, 70.09, 310.73°)
OKLaboklab(57.21% 0.0947 -0.1502)
OKLCHoklch(57.21% 0.178 302.2)
XYZxyz(25.4096, 16.8868, 59.6666)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CD #97CD57
analogous
#575CCD #8D57CD #C857CD
triadic
#8D57CD #CD8D57 #57CD8D
tetradic
#8D57CD #CD575C #97CD57 #57CDC8
square
#8D57CD #CD575C #97CD57 #57CDC8
split-complementary
#8D57CD #CDC857 #5CCD57
monochromatic
#512783 #6E35B2 #8D57CD #AD86DB #CDB5E9

Accessibility & contrast

On white

4.80
#8D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CD#FFFFFF#000000##FFFFFF
##8D57CD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#816F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57cd;
/* rgb */ color: rgb(141, 87, 205);
/* oklch */ color: oklch(57.2% 0.178 302.2);
Tailwind
colors: {
  custom: {
    50: '#b288dd',
    500: '#8d57cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d57cd;
$custom-light: #b288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57cd",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 267.458,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.17756,
    "h": 302.2
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#8D57CD
secondary
#C2D8A8
accent
#DD4A9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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