#8D57E4#8D57E4

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

Color values

HEX#8D57E4
RGBrgb(141, 87, 228)
HSLhsl(263, 72%, 62%)
HSVhsv(263, 62%, 89%)
CMYKcmyk(38.2%, 61.8%, 0%, 10.6%)
CIE-LABlab(49.59, 51.51, -63.83)
CIE-LCHlch(49.59, 82.03, 308.90°)
OKLaboklab(58.76% 0.0939 -0.1817)
OKLCHoklch(58.76% 0.205 297.3)
XYZxyz(28.3927, 18.0801, 75.3777)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57E4 #AEE457
analogous
#5768E4 #8D57E4 #D457E4
triadic
#8D57E4 #E48D57 #57E48D
tetradic
#8D57E4 #E45768 #AEE457 #57E4D4
square
#8D57E4 #E45768 #AEE457 #57E4D4
split-complementary
#8D57E4 #E4D457 #68E457
monochromatic
#501BA6 #6923DB #8D57E4 #B18CEC #D5C0F5

Accessibility & contrast

On white

4.55
#8D57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57E4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57E4#FFFFFF#000000##000000
##8D57E41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0A74E1
Tritanopia (blue-blind)
#787696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d57e4;
/* rgb */ color: rgb(141, 87, 228);
/* oklch */ color: oklch(58.8% 0.205 297.3);
Tailwind
colors: {
  custom: {
    50: '#b489ed',
    500: '#8d57e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d57e4;
$custom-light: #b489ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57e4",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 262.979,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.20456,
    "h": 297.3
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#8D57E4
secondary
#D2E6B1
accent
#D4118A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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