#9D60DB#9D60DB

#9D60DB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.184 H 304.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9D60DB
RGBrgb(157, 96, 219)
HSLhsl(270, 63%, 62%)
HSVhsv(270, 56%, 86%)
CMYKcmyk(28.3%, 56.2%, 0%, 14.1%)
CIE-LABlab(52.56, 48.17, -53.88)
CIE-LCHlch(52.56, 72.27, 311.80°)
OKLaboklab(61.14% 0.1041 -0.152)
OKLCHoklch(61.14% 0.184 304.4)
XYZxyz(30.8709, 20.6484, 69.3633)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60DB #9EDB60
analogous
#6061DB #9D60DB #DB60DB
triadic
#9D60DB #DB9D60 #60DB9D
tetradic
#9D60DB #DB6061 #9EDB60 #60DBDB
square
#9D60DB #DB6061 #9EDB60 #60DBDB
split-complementary
#9D60DB #DBDB60 #61DB60
monochromatic
#60249D #7E2FCF #9D60DB #BC92E6 #DBC4F2

Accessibility & contrast

On white

4.09
#9D60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9D60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60DB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60DB#FFFFFF#000000##000000
##9D60DB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#927894
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d60db;
/* rgb */ color: rgb(157, 96, 219);
/* oklch */ color: oklch(61.1% 0.184 304.4);
Tailwind
colors: {
  custom: {
    50: '#bd8fe7',
    500: '#9d60db',
    950: '#000000',
  },
}
SCSS
$custom: #9d60db;
$custom-light: #bd8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60db",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 269.756,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.18421,
    "h": 304.4
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#9D60DB
secondary
#CCE2B5
accent
#CB1B73
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9D60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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