#9E59DA#9E59DA

#9E59DA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.194 H 306.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E59DA
RGBrgb(158, 89, 218)
HSLhsl(272, 64%, 60%)
HSVhsv(272, 59%, 85%)
CMYKcmyk(27.5%, 59.2%, 0%, 14.5%)
CIE-LABlab(51.24, 51.83, -55.42)
CIE-LCHlch(51.24, 75.88, 313.08°)
OKLaboklab(60.18% 0.114 -0.1565)
OKLCHoklch(60.18% 0.194 306.1)
XYZxyz(30.3251, 19.4761, 68.4778)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59DA #95DA59
analogous
#5D59DA #9E59DA #DA59D6
triadic
#9E59DA #DA9E59 #59DA9E
tetradic
#9E59DA #DA5D59 #95DA59 #59D6DA
square
#9E59DA #DA5D59 #95DA59 #59D6DA
split-complementary
#9E59DA #D6DA59 #59DA5D
monochromatic
#602297 #802DC9 #9E59DA #BB8BE5 #D8BDF0

Accessibility & contrast

On white

4.29
#9E59DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9E59DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59DA#FFFFFF#000000##000000
##9E59DA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#947291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e59da;
/* rgb */ color: rgb(158, 89, 218);
/* oklch */ color: oklch(60.2% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#be8be6',
    500: '#9e59da',
    950: '#000000',
  },
}
SCSS
$custom: #9e59da;
$custom-light: #be8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59da",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 272.093,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.1936,
    "h": 306.1
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#9E59DA
secondary
#C6E0AF
accent
#CB1A6D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9E59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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