#8D59D2#8D59D2

#8D59D2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.181 H 300.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D59D2
RGBrgb(141, 89, 210)
HSLhsl(266, 57%, 59%)
HSVhsv(266, 58%, 82%)
CMYKcmyk(32.9%, 57.6%, 0%, 17.6%)
CIE-LABlab(48.84, 45.89, -54.83)
CIE-LCHlch(48.84, 71.50, 309.93°)
OKLaboklab(57.84% 0.0922 -0.1553)
OKLCHoklch(57.84% 0.181 300.7)
XYZxyz(26.1870, 17.4605, 62.9509)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59D2 #9ED259
analogous
#5961D2 #8D59D2 #C959D2
triadic
#8D59D2 #D28D59 #59D28D
tetradic
#8D59D2 #D25961 #9ED259 #59D2C9
square
#8D59D2 #D25961 #9ED259 #59D2C9
split-complementary
#8D59D2 #D2C959 #61D259
monochromatic
#51268B #6D33BB #8D59D2 #AE89DF #CFB9EC

Accessibility & contrast

On white

4.67
#8D59D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8D59D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D59D2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59D2#FFFFFF#000000##FFFFFF
##8D59D21.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F73D6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#7F728D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d59d2;
/* rgb */ color: rgb(141, 89, 210);
/* oklch */ color: oklch(57.8% 0.181 300.7);
Tailwind
colors: {
  custom: {
    50: '#b28ae0',
    500: '#8d59d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d59d2;
$custom-light: #b28ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59d2",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 265.785,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.18057,
    "h": 300.7
  },
  "luminance": 0.17461
}

Semantic roles & 50–950 ramp

primary
#8D59D2
secondary
#C7DBAB
accent
#E1479F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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