#8D57E1#8D57E1

#8D57E1 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.201 H 297.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8D57E1
RGBrgb(141, 87, 225)
HSLhsl(263, 70%, 61%)
HSVhsv(263, 61%, 88%)
CMYKcmyk(37.3%, 61.3%, 0%, 11.8%)
CIE-LABlab(49.39, 50.75, -62.46)
CIE-LCHlch(49.39, 80.48, 309.09°)
OKLaboklab(58.55% 0.0941 -0.1777)
OKLCHoklch(58.55% 0.201 297.9)
XYZxyz(27.9799, 17.9150, 73.2034)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57E1 #ABE157
analogous
#5766E1 #8D57E1 #D257E1
triadic
#8D57E1 #E18D57 #57E18D
tetradic
#8D57E1 #E15766 #ABE157 #57E1D2
square
#8D57E1 #E15766 #ABE157 #57E1D2
split-complementary
#8D57E1 #E1D257 #66E157
monochromatic
#501DA1 #6A26D5 #8D57E1 #B08BEA #D3BFF4

Accessibility & contrast

On white

4.58
#8D57E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8D57E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57E1
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57E1#FFFFFF#000000##000000
##8D57E11.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#1674DE
Tritanopia (blue-blind)
#797594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d57e1;
/* rgb */ color: rgb(141, 87, 225);
/* oklch */ color: oklch(58.6% 0.201 297.9);
Tailwind
colors: {
  custom: {
    50: '#b489eb',
    500: '#8d57e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d57e1;
$custom-light: #b489eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57e1",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 263.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.20106,
    "h": 297.9
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#8D57E1
secondary
#D0E4B0
accent
#D21487
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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