#8D57E8#8D57E8

#8D57E8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.209 H 296.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D57E8
RGBrgb(141, 87, 232)
HSLhsl(262, 76%, 63%)
HSVhsv(262, 63%, 91%)
CMYKcmyk(39.2%, 62.5%, 0%, 9%)
CIE-LABlab(49.86, 52.54, -65.65)
CIE-LCHlch(49.86, 84.08, 308.67°)
OKLaboklab(59.04% 0.0936 -0.1871)
OKLCHoklch(59.04% 0.209 296.6)
XYZxyz(28.9544, 18.3048, 78.3360)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57E8 #B2E857
analogous
#5769E8 #8D57E8 #D657E8
triadic
#8D57E8 #E88D57 #57E88D
tetradic
#8D57E8 #E85769 #B2E857 #57E8D6
square
#8D57E8 #E85769 #B2E857 #57E8D6
split-complementary
#8D57E8 #E8D657 #69E857
monochromatic
#4F18AD #6821E1 #8D57E8 #B28DEF #D6C3F7

Accessibility & contrast

On white

4.51
#8D57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57E8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57E8#FFFFFF#000000##000000
##8D57E81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#777898
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d57e8;
/* rgb */ color: rgb(141, 87, 232);
/* oklch */ color: oklch(59.0% 0.209 296.6);
Tailwind
colors: {
  custom: {
    50: '#b489f0',
    500: '#8d57e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d57e8;
$custom-light: #b489f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57e8",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 262.345,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.20919,
    "h": 296.6
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#8D57E8
secondary
#D4E8B3
accent
#D80D8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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