#8D57E7#8D57E7

#8D57E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.208 H 296.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D57E7
RGBrgb(141, 87, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(39%, 62.3%, 0%, 9.4%)
CIE-LABlab(49.80, 52.28, -65.20)
CIE-LCHlch(49.80, 83.57, 308.72°)
OKLaboklab(58.97% 0.0937 -0.1857)
OKLCHoklch(58.97% 0.208 296.8)
XYZxyz(28.8128, 18.2481, 77.5900)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57E7 #B1E757
analogous
#5769E7 #8D57E7 #D557E7
triadic
#8D57E7 #E78D57 #57E78D
tetradic
#8D57E7 #E75769 #B1E757 #57E7D5
square
#8D57E7 #E75769 #B1E757 #57E7D5
split-complementary
#8D57E7 #E7D557 #69E757
monochromatic
#4F18AB #6921DF #8D57E7 #B18DEF #D6C2F6

Accessibility & contrast

On white

4.52
#8D57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8D57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D57E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57E7#FFFFFF#000000##000000
##8D57E71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#777797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d57e7;
/* rgb */ color: rgb(141, 87, 231);
/* oklch */ color: oklch(59.0% 0.208 296.8);
Tailwind
colors: {
  custom: {
    50: '#b489ef',
    500: '#8d57e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d57e7;
$custom-light: #b489ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57e7",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 262.5,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.20803,
    "h": 296.8
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#8D57E7
secondary
#D3E7B3
accent
#D70E8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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