#8D59E4#8D59E4

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

Color values

HEX#8D59E4
RGBrgb(141, 89, 228)
HSLhsl(262, 72%, 62%)
HSVhsv(262, 61%, 89%)
CMYKcmyk(38.2%, 61%, 0%, 10.6%)
CIE-LABlab(49.99, 50.45, -63.20)
CIE-LCHlch(49.99, 80.87, 308.60°)
OKLaboklab(59.05% 0.0917 -0.1798)
OKLCHoklch(59.05% 0.202 297)
XYZxyz(28.5569, 18.4084, 75.4324)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59E4 #B0E459
analogous
#596BE4 #8D59E4 #D359E4
triadic
#8D59E4 #E48D59 #59E48D
tetradic
#8D59E4 #E4596B #B0E459 #59E4D3
square
#8D59E4 #E4596B #B0E459 #59E4D3
split-complementary
#8D59E4 #E4D359 #6BE459
monochromatic
#501BA7 #6924DB #8D59E4 #B18EED #D5C2F5

Accessibility & contrast

On white

4.49
#8D59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D59E4#FFFFFF#000000##000000
##8D59E41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#787896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d59e4;
/* rgb */ color: rgb(141, 89, 228);
/* oklch */ color: oklch(59.0% 0.202 297.0);
Tailwind
colors: {
  custom: {
    50: '#b48aed',
    500: '#8d59e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d59e4;
$custom-light: #b48aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59e4",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 262.446,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.20187,
    "h": 297
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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