#9D59E1#9D59E1

#9D59E1 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.201 H 304.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D59E1
RGBrgb(157, 89, 225)
HSLhsl(270, 69%, 62%)
HSVhsv(270, 60%, 88%)
CMYKcmyk(30.2%, 60.4%, 0%, 11.8%)
CIE-LABlab(51.55, 53.24, -58.89)
CIE-LCHlch(51.55, 79.39, 312.11°)
OKLaboklab(60.52% 0.1126 -0.1667)
OKLCHoklch(60.52% 0.201 304)
XYZxyz(31.0646, 19.7492, 73.3950)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59E1 #9DE159
analogous
#5959E1 #9D59E1 #E159E1
triadic
#9D59E1 #E19D59 #59E19D
tetradic
#9D59E1 #E15959 #9DE159 #59E1E1
square
#9D59E1 #E15959 #9DE159 #59E1E1
split-complementary
#9D59E1 #E1E159 #59E159
monochromatic
#601DA2 #7E27D6 #9D59E1 #BC8DEA #DAC1F4

Accessibility & contrast

On white

4.24
#9D59E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9D59E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59E1#FFFFFF#000000##000000
##9D59E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0779E5
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#917595
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d59e1;
/* rgb */ color: rgb(157, 89, 225);
/* oklch */ color: oklch(60.5% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#be8beb',
    500: '#9d59e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d59e1;
$custom-light: #be8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59e1",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.20114,
    "h": 304
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#9D59E1
secondary
#CBE4B2
accent
#D11473
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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