#8D59E5#8D59E5

#8D59E5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.203 H 296.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D59E5
RGBrgb(141, 89, 229)
HSLhsl(262, 73%, 62%)
HSVhsv(262, 61%, 90%)
CMYKcmyk(38.4%, 61.1%, 0%, 10.2%)
CIE-LABlab(50.05, 50.71, -63.65)
CIE-LCHlch(50.05, 81.38, 308.54°)
OKLaboklab(59.12% 0.0916 -0.1812)
OKLCHoklch(59.12% 0.203 296.8)
XYZxyz(28.6961, 18.4641, 76.1656)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59E5 #B1E559
analogous
#596BE5 #8D59E5 #D359E5
triadic
#8D59E5 #E58D59 #59E58D
tetradic
#8D59E5 #E5596B #B1E559 #59E5D3
square
#8D59E5 #E5596B #B1E559 #59E5D3
split-complementary
#8D59E5 #E5D359 #6BE559
monochromatic
#4F1AA9 #6924DD #8D59E5 #B18EED #D6C3F6

Accessibility & contrast

On white

4.47
#8D59E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8D59E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D59E5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59E5#FFFFFF#000000##000000
##8D59E51.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#1075E2
Tritanopia (blue-blind)
#787897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d59e5;
/* rgb */ color: rgb(141, 89, 229);
/* oklch */ color: oklch(59.1% 0.203 296.8);
Tailwind
colors: {
  custom: {
    50: '#b48aee',
    500: '#8d59e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d59e5;
$custom-light: #b48aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59e5",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 262.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.20304,
    "h": 296.8
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#8D59E5
secondary
#D3E6B3
accent
#D5108C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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