#8D59D4#8D59D4

#8D59D4 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.183 H 300.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D59D4
RGBrgb(141, 89, 212)
HSLhsl(265, 59%, 59%)
HSVhsv(265, 58%, 83%)
CMYKcmyk(33.5%, 58%, 0%, 16.9%)
CIE-LABlab(48.96, 46.39, -55.77)
CIE-LCHlch(48.96, 72.54, 309.75°)
OKLaboklab(57.97% 0.0922 -0.158)
OKLCHoklch(57.97% 0.183 300.3)
XYZxyz(26.4377, 17.5608, 64.2713)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59D4 #A0D459
analogous
#5963D4 #8D59D4 #CB59D4
triadic
#8D59D4 #D48D59 #59D48D
tetradic
#8D59D4 #D45963 #A0D459 #59D4CB
square
#8D59D4 #D45963 #A0D459 #59D4CB
split-complementary
#8D59D4 #D4CB59 #63D459
monochromatic
#51258E #6D31BE #8D59D4 #AE8AE1 #D0BAED

Accessibility & contrast

On white

4.65
#8D59D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8D59D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D59D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59D4#FFFFFF#000000##FFFFFF
##8D59D41.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#3473D1
Tritanopia (blue-blind)
#7E728E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d59d4;
/* rgb */ color: rgb(141, 89, 212);
/* oklch */ color: oklch(58.0% 0.183 300.3);
Tailwind
colors: {
  custom: {
    50: '#b28ae2',
    500: '#8d59d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d59d4;
$custom-light: #b28ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59d4",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 212
  },
  "hsl": {
    "h": 265.366,
    "s": 58.852,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.18295,
    "h": 300.3
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#8D59D4
secondary
#C8DDAC
accent
#E246A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D59D4

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

Preview Lab → · Contrast checker → · Palette generator →

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