#8D57EC#8D57EC

#8D57EC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.214 H 295.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D57EC
RGBrgb(141, 87, 236)
HSLhsl(262, 80%, 63%)
HSVhsv(262, 63%, 93%)
CMYKcmyk(40.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(50.14, 53.56, -67.46)
CIE-LCHlch(50.14, 86.14, 308.45°)
OKLaboklab(59.33% 0.0933 -0.1924)
OKLCHoklch(59.33% 0.214 295.9)
XYZxyz(29.5291, 18.5346, 81.3624)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57EC #B6EC57
analogous
#576BEC #8D57EC #D757EC
triadic
#8D57EC #EC8D57 #57EC8D
tetradic
#8D57EC #EC576B #B6EC57 #57ECD7
square
#8D57EC #EC576B #B6EC57 #57ECD7
split-complementary
#8D57EC #ECD757 #6BEC57
monochromatic
#4E14B4 #6820E6 #8D57EC #B28EF2 #D8C5F8

Accessibility & contrast

On white

4.46
#8D57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8D57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57EC#FFFFFF#000000##000000
##8D57EC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#75799A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d57ec;
/* rgb */ color: rgb(141, 87, 236);
/* oklch */ color: oklch(59.3% 0.214 295.9);
Tailwind
colors: {
  custom: {
    50: '#b589f3',
    500: '#8d57ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d57ec;
$custom-light: #b589f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57ec",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 261.745,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.2138,
    "h": 295.9
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#8D57EC
secondary
#D7EAB5
accent
#DC0A90
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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