#8D57CF#8D57CF

#8D57CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.180 H 301.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D57CF
RGBrgb(141, 87, 207)
HSLhsl(267, 56%, 58%)
HSVhsv(267, 58%, 81%)
CMYKcmyk(31.9%, 58%, 0%, 18.8%)
CIE-LABlab(48.24, 46.23, -54.07)
CIE-LCHlch(48.24, 71.14, 310.53°)
OKLaboklab(57.34% 0.0947 -0.153)
OKLCHoklch(57.34% 0.18 301.7)
XYZxyz(25.6526, 16.9840, 60.9462)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CF #99CF57
analogous
#575DCF #8D57CF #C957CF
triadic
#8D57CF #CF8D57 #57CF8D
tetradic
#8D57CF #CF575D #99CF57 #57CFC9
square
#8D57CF #CF575D #99CF57 #57CFC9
split-complementary
#8D57CF #CFC957 #5DCF57
monochromatic
#512685 #6E34B5 #8D57CF #AD87DD #CEB6EA

Accessibility & contrast

On white

4.78
#8D57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8D57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CF#FFFFFF#000000##FFFFFF
##8D57CF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#806F8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57cf;
/* rgb */ color: rgb(141, 87, 207);
/* oklch */ color: oklch(57.3% 0.180 301.7);
Tailwind
colors: {
  custom: {
    50: '#b289de',
    500: '#8d57cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d57cf;
$custom-light: #b289de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57cf",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 267,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.17993,
    "h": 301.7
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#8D57CF
secondary
#C3D9A9
accent
#DF499B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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