#8D59D9#8D59D9

#8D59D9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.189 H 299.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D59D9
RGBrgb(141, 89, 217)
HSLhsl(264, 63%, 60%)
HSVhsv(264, 59%, 85%)
CMYKcmyk(35%, 59%, 0%, 14.9%)
CIE-LABlab(49.27, 47.65, -58.12)
CIE-LCHlch(49.27, 75.15, 309.35°)
OKLaboklab(58.3% 0.0921 -0.1649)
OKLCHoklch(58.3% 0.189 299.2)
XYZxyz(27.0782, 17.8170, 67.6446)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59D9 #A5D959
analogous
#5965D9 #8D59D9 #CD59D9
triadic
#8D59D9 #D98D59 #59D98D
tetradic
#8D59D9 #D95965 #A5D959 #59D9CD
square
#8D59D9 #D95965 #A5D959 #59D9CD
split-complementary
#8D59D9 #D9CD59 #65D959
monochromatic
#512295 #6C2EC7 #8D59D9 #AF8BE4 #D1BDF0

Accessibility & contrast

On white

4.60
#8D59D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D59D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D59D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59D9#FFFFFF#000000##FFFFFF
##8D59D91.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C75DD
Deuteranopia (green-blind)
#2C74D6
Tritanopia (blue-blind)
#7C7491
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d59d9;
/* rgb */ color: rgb(141, 89, 217);
/* oklch */ color: oklch(58.3% 0.189 299.2);
Tailwind
colors: {
  custom: {
    50: '#b38ae5',
    500: '#8d59d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d59d9;
$custom-light: #b38ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59d9",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 264.375,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.18889,
    "h": 299.2
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#8D59D9
secondary
#CCE0AE
accent
#E642A3
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D59D9

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

Preview Lab → · Contrast checker → · Palette generator →

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