#9D59E9#9D59E9

#9D59E9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.210 H 302.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9D59E9
RGBrgb(157, 89, 233)
HSLhsl(268, 77%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(32.6%, 61.8%, 0%, 8.6%)
CIE-LABlab(52.06, 55.14, -62.58)
CIE-LCHlch(52.06, 83.41, 311.38°)
OKLaboklab(61.05% 0.1122 -0.1775)
OKLCHoklch(61.05% 0.21 302.3)
XYZxyz(32.1816, 20.1960, 79.2778)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59E9 #A5E959
analogous
#595DE9 #9D59E9 #E559E9
triadic
#9D59E9 #E99D59 #59E99D
tetradic
#9D59E9 #E9595D #A5E959 #59E9E5
square
#9D59E9 #E9595D #A5E959 #59E9E5
split-complementary
#9D59E9 #E9E559 #5DE959
monochromatic
#6017B0 #7D23E2 #9D59E9 #BD8FF0 #DDC5F7

Accessibility & contrast

On white

4.17
#9D59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9D59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59E9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59E9#FFFFFF#000000##000000
##9D59E91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2B7CE6
Tritanopia (blue-blind)
#8E7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d59e9;
/* rgb */ color: rgb(157, 89, 233);
/* oklch */ color: oklch(61.0% 0.210 302.3);
Tailwind
colors: {
  custom: {
    50: '#bf8bf1',
    500: '#9d59e9',
    950: '#000000',
  },
}
SCSS
$custom: #9d59e9;
$custom-light: #bf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59e9",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 268.333,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.21003,
    "h": 302.3
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#9D59E9
secondary
#D0E9B5
accent
#D90D78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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