#8D57EA#8D57EA

#8D57EA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.211 H 296.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D57EA
RGBrgb(141, 87, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(50.00, 53.05, -66.56)
CIE-LCHlch(50.00, 85.11, 308.56°)
OKLaboklab(59.18% 0.0935 -0.1897)
OKLCHoklch(59.18% 0.212 296.2)
XYZxyz(29.2401, 18.4191, 79.8406)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57EA #B4EA57
analogous
#576AEA #8D57EA #D757EA
triadic
#8D57EA #EA8D57 #57EA8D
tetradic
#8D57EA #EA576A #B4EA57 #57EAD7
square
#8D57EA #EA576A #B4EA57 #57EAD7
split-complementary
#8D57EA #EAD757 #6AEA57
monochromatic
#4F16B1 #6821E3 #8D57EA #B28DF1 #D7C4F8

Accessibility & contrast

On white

4.48
#8D57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8D57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57EA#FFFFFF#000000##000000
##8D57EA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#767899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d57ea;
/* rgb */ color: rgb(141, 87, 234);
/* oklch */ color: oklch(59.2% 0.211 296.2);
Tailwind
colors: {
  custom: {
    50: '#b489f2',
    500: '#8d57ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d57ea;
$custom-light: #b489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57ea",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 262.041,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.2115,
    "h": 296.2
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#8D57EA
secondary
#D5E9B4
accent
#DA0B8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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