#8D59E6#8D59E6

#8D59E6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.204 H 296.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D59E6
RGBrgb(141, 89, 230)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 61%, 90%)
CMYKcmyk(38.7%, 61.3%, 0%, 9.8%)
CIE-LABlab(50.12, 50.97, -64.11)
CIE-LCHlch(50.12, 81.90, 308.49°)
OKLaboklab(59.19% 0.0916 -0.1825)
OKLCHoklch(59.19% 0.204 296.6)
XYZxyz(28.8361, 18.5201, 76.9030)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59E6 #B2E659
analogous
#596BE6 #8D59E6 #D459E6
triadic
#8D59E6 #E68D59 #59E68D
tetradic
#8D59E6 #E6596B #B2E659 #59E6D4
square
#8D59E6 #E6596B #B2E659 #59E6D4
split-complementary
#8D59E6 #E6D459 #6BE659
monochromatic
#4F1AAB #6824DE #8D59E6 #B28EEE #D6C3F6

Accessibility & contrast

On white

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

On black

4.70
#8D59E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D59E6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59E6#FFFFFF#000000##000000
##8D59E61.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#0B75E3
Tritanopia (blue-blind)
#777897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d59e6;
/* rgb */ color: rgb(141, 89, 230);
/* oklch */ color: oklch(59.2% 0.204 296.6);
Tailwind
colors: {
  custom: {
    50: '#b48aef',
    500: '#8d59e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d59e6;
$custom-light: #b48aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59e6",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 262.128,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.20421,
    "h": 296.6
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#8D59E6
secondary
#D4E7B4
accent
#D6108D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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