#9D59CF#9D59CF

#9D59CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.181 H 308.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D59CF
RGBrgb(157, 89, 207)
HSLhsl(275, 55%, 58%)
HSVhsv(275, 57%, 81%)
CMYKcmyk(24.2%, 57%, 0%, 18.8%)
CIE-LABlab(50.47, 49.06, -50.39)
CIE-LCHlch(50.47, 70.33, 314.24°)
OKLaboklab(59.39% 0.1126 -0.1418)
OKLCHoklch(59.39% 0.181 308.5)
XYZxyz(28.7373, 18.8183, 61.1378)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59CF #8BCF59
analogous
#6259CF #9D59CF #CF59C6
triadic
#9D59CF #CF9D59 #59CF9D
tetradic
#9D59CF #CF6259 #8BCF59 #59C6CF
square
#9D59CF #CF6259 #8BCF59 #59C6CF
split-complementary
#9D59CF #C6CF59 #59CF62
monochromatic
#5E2787 #7F35B6 #9D59CF #B988DD #D5B8EA

Accessibility & contrast

On white

4.41
#9D59CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9D59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59CF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59CF#FFFFFF#000000##000000
##9D59CF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#966F8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d59cf;
/* rgb */ color: rgb(157, 89, 207);
/* oklch */ color: oklch(59.4% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd8bde',
    500: '#9d59cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d59cf;
$custom-light: #bd8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59cf",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 274.576,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.18106,
    "h": 308.5
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#9D59CF
secondary
#BED9AA
accent
#DE4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D59CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D59CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva