#9D59EB#9D59EB

#9D59EB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.212 H 301.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D59EB
RGBrgb(157, 89, 235)
HSLhsl(268, 78%, 64%)
HSVhsv(268, 62%, 92%)
CMYKcmyk(33.2%, 62.1%, 0%, 7.8%)
CIE-LABlab(52.19, 55.62, -63.50)
CIE-LCHlch(52.19, 84.41, 311.21°)
OKLaboklab(61.18% 0.1121 -0.1802)
OKLCHoklch(61.18% 0.212 301.9)
XYZxyz(32.4689, 20.3109, 80.7910)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59EB #A7EB59
analogous
#595EEB #9D59EB #E659EB
triadic
#9D59EB #EB9D59 #59EB9D
tetradic
#9D59EB #EB595E #A7EB59 #59EBE6
square
#9D59EB #EB595E #A7EB59 #59EBE6
split-complementary
#9D59EB #EBE659 #5EEB59
monochromatic
#5F16B4 #7D22E4 #9D59EB #BD90F2 #DDC6F8

Accessibility & contrast

On white

4.15
#9D59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9D59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59EB#FFFFFF#000000##000000
##9D59EB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#8D789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d59eb;
/* rgb */ color: rgb(157, 89, 235);
/* oklch */ color: oklch(61.2% 0.212 301.9);
Tailwind
colors: {
  custom: {
    50: '#bf8bf2',
    500: '#9d59eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d59eb;
$custom-light: #bf8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59eb",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 267.945,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.21225,
    "h": 301.9
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#9D59EB
secondary
#D2EAB6
accent
#DB0B7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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