#8D59BE#8D59BE

#8D59BE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.157 H 305.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D59BE
RGBrgb(141, 89, 190)
HSLhsl(271, 44%, 55%)
HSVhsv(271, 53%, 75%)
CMYKcmyk(25.8%, 53.2%, 0%, 25.5%)
CIE-LABlab(47.66, 40.99, -45.20)
CIE-LCHlch(47.66, 61.02, 312.20°)
OKLaboklab(56.59% 0.0915 -0.127)
OKLCHoklch(56.59% 0.157 305.8)
XYZxyz(23.8492, 16.5254, 50.6385)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59BE #8ABE59
analogous
#5B59BE #8D59BE #BE59BD
triadic
#8D59BE #BE8D59 #59BE8D
tetradic
#8D59BE #BE5B59 #8ABE59 #59BDBE
square
#8D59BE #BE5B59 #8ABE59 #59BDBE
split-complementary
#8D59BE #BDBE59 #59BE5B
monochromatic
#4F2C71 #6E3D9D #8D59BE #AB85CF #C9B1E0

Accessibility & contrast

On white

4.88
#8D59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D59BE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59BE#FFFFFF#000000##FFFFFF
##8D59BE1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#856B83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d59be;
/* rgb */ color: rgb(141, 89, 190);
/* oklch */ color: oklch(56.6% 0.157 305.8);
Tailwind
colors: {
  custom: {
    50: '#b189d2',
    500: '#8d59be',
    950: '#000000',
  },
}
SCSS
$custom: #8d59be;
$custom-light: #b189d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59be",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 270.891,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.15658,
    "h": 305.8
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#8D59BE
secondary
#B9CFA4
accent
#D35492
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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