#8D57E5#8D57E5

#8D57E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.206 H 297.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D57E5
RGBrgb(141, 87, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(38.4%, 62%, 0%, 10.2%)
CIE-LABlab(49.66, 51.77, -64.29)
CIE-LCHlch(49.66, 82.54, 308.84°)
OKLaboklab(58.83% 0.0939 -0.1831)
OKLCHoklch(58.83% 0.206 297.1)
XYZxyz(28.5319, 18.1358, 76.1109)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57E5 #AFE557
analogous
#5768E5 #8D57E5 #D457E5
triadic
#8D57E5 #E58D57 #57E58D
tetradic
#8D57E5 #E55768 #AFE557 #57E5D4
square
#8D57E5 #E55768 #AFE557 #57E5D4
split-complementary
#8D57E5 #E5D457 #68E557
monochromatic
#501AA8 #6922DD #8D57E5 #B18CED #D5C1F5

Accessibility & contrast

On white

4.54
#8D57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8D57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57E5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57E5#FFFFFF#000000##000000
##8D57E51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0474E2
Tritanopia (blue-blind)
#787796
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d57e5;
/* rgb */ color: rgb(141, 87, 229);
/* oklch */ color: oklch(58.8% 0.206 297.1);
Tailwind
colors: {
  custom: {
    50: '#b489ee',
    500: '#8d57e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d57e5;
$custom-light: #b489ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57e5",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 262.817,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.20572,
    "h": 297.1
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#8D57E5
secondary
#D2E6B2
accent
#D5108A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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