#9E59CF#9E59CF

#9E59CF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.181 H 308.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E59CF
RGBrgb(158, 89, 207)
HSLhsl(275, 55%, 58%)
HSVhsv(275, 57%, 81%)
CMYKcmyk(23.7%, 57%, 0%, 18.8%)
CIE-LABlab(50.59, 49.31, -50.19)
CIE-LCHlch(50.59, 70.36, 314.49°)
OKLaboklab(59.5% 0.1139 -0.1412)
OKLCHoklch(59.5% 0.181 308.9)
XYZxyz(28.9332, 18.9193, 61.1470)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59CF #8ACF59
analogous
#6359CF #9E59CF #CF59C5
triadic
#9E59CF #CF9E59 #59CF9E
tetradic
#9E59CF #CF6359 #8ACF59 #59C5CF
square
#9E59CF #CF6359 #8ACF59 #59C5CF
split-complementary
#9E59CF #C5CF59 #59CF63
monochromatic
#5F2787 #8035B6 #9E59CF #BA88DD #D5B8EA

Accessibility & contrast

On white

4.39
#9E59CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9E59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59CF#FFFFFF#000000##000000
##9E59CF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#976F8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e59cf;
/* rgb */ color: rgb(158, 89, 207);
/* oklch */ color: oklch(59.5% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#be8bde',
    500: '#9e59cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e59cf;
$custom-light: #be8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59cf",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 275.085,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.595,
    "c": 0.18138,
    "h": 308.9
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#9E59CF
secondary
#BED9AA
accent
#DE4987
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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