#9D59DB#9D59DB

#9D59DB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.194 H 305.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9D59DB
RGBrgb(157, 89, 219)
HSLhsl(271, 64%, 60%)
HSVhsv(271, 59%, 86%)
CMYKcmyk(28.3%, 59.4%, 0%, 14.1%)
CIE-LABlab(51.18, 51.83, -56.09)
CIE-LCHlch(51.18, 76.37, 312.74°)
OKLaboklab(60.13% 0.1127 -0.1585)
OKLCHoklch(60.13% 0.194 305.4)
XYZxyz(30.2604, 19.4275, 69.1598)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59DB #97DB59
analogous
#5C59DB #9D59DB #DB59D8
triadic
#9D59DB #DB9D59 #59DB9D
tetradic
#9D59DB #DB5C59 #97DB59 #59D8DB
square
#9D59DB #DB5C59 #97DB59 #59D8DB
split-complementary
#9D59DB #D8DB59 #59DB5C
monochromatic
#602199 #7F2CCB #9D59DB #BB8BE6 #D8BEF1

Accessibility & contrast

On white

4.30
#9D59DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9D59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59DB#FFFFFF#000000##000000
##9D59DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#927392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d59db;
/* rgb */ color: rgb(157, 89, 219);
/* oklch */ color: oklch(60.1% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#be8be7',
    500: '#9d59db',
    950: '#000000',
  },
}
SCSS
$custom: #9d59db;
$custom-light: #be8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59db",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 271.385,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.19445,
    "h": 305.4
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#9D59DB
secondary
#C7E1AF
accent
#CC196F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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