#8D59CB#8D59CB

#8D59CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.172 H 302.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D59CB
RGBrgb(141, 89, 203)
HSLhsl(267, 52%, 57%)
HSVhsv(267, 56%, 80%)
CMYKcmyk(30.5%, 56.2%, 0%, 20.4%)
CIE-LABlab(48.41, 44.15, -51.50)
CIE-LCHlch(48.41, 67.83, 310.61°)
OKLaboklab(57.39% 0.0921 -0.1455)
OKLCHoklch(57.39% 0.172 302.3)
XYZxyz(25.3339, 17.1192, 58.4580)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59CB #97CB59
analogous
#595ECB #8D59CB #C659CB
triadic
#8D59CB #CB8D59 #59CB8D
tetradic
#8D59CB #CB595E #97CB59 #59CBC6
square
#8D59CB #CB595E #97CB59 #59CBC6
split-complementary
#8D59CB #CBC659 #5ECB59
monochromatic
#512881 #6E37B0 #8D59CB #AD88DA #CDB6E8

Accessibility & contrast

On white

4.75
#8D59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D59CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59CB#FFFFFF#000000##FFFFFF
##8D59CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#816F89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d59cb;
/* rgb */ color: rgb(141, 89, 203);
/* oklch */ color: oklch(57.4% 0.172 302.3);
Tailwind
colors: {
  custom: {
    50: '#b28adb',
    500: '#8d59cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d59cb;
$custom-light: #b28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59cb",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 267.368,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.1722,
    "h": 302.3
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#8D59CB
secondary
#C2D7A9
accent
#DC4C9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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