#8D59E3#8D59E3

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

Color values

HEX#8D59E3
RGBrgb(141, 89, 227)
HSLhsl(263, 71%, 62%)
HSVhsv(263, 61%, 89%)
CMYKcmyk(37.9%, 60.8%, 0%, 11%)
CIE-LABlab(49.92, 50.20, -62.74)
CIE-LCHlch(49.92, 80.35, 308.66°)
OKLaboklab(58.98% 0.0917 -0.1785)
OKLCHoklch(58.98% 0.201 297.2)
XYZxyz(28.4185, 18.3531, 74.7034)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59E3 #AFE359
analogous
#596AE3 #8D59E3 #D259E3
triadic
#8D59E3 #E38D59 #59E38D
tetradic
#8D59E3 #E3596A #AFE359 #59E3D2
square
#8D59E3 #E3596A #AFE359 #59E3D2
split-complementary
#8D59E3 #E3D259 #6AE359
monochromatic
#501CA6 #6925DA #8D59E3 #B18DEC #D5C2F5

Accessibility & contrast

On white

4.50
#8D59E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8D59E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D59E3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59E3#FFFFFF#000000##000000
##8D59E31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#1775E0
Tritanopia (blue-blind)
#787796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d59e3;
/* rgb */ color: rgb(141, 89, 227);
/* oklch */ color: oklch(59.0% 0.201 297.2);
Tailwind
colors: {
  custom: {
    50: '#b48aed',
    500: '#8d59e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d59e3;
$custom-light: #b48aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59e3",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 262.609,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.20069,
    "h": 297.2
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#8D59E3
secondary
#D2E5B2
accent
#D3128B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D59E3

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

Preview Lab → · Contrast checker → · Palette generator →

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