#9F60DB#9F60DB

#9F60DB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.185 H 305.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9F60DB
RGBrgb(159, 96, 219)
HSLhsl(271, 63%, 62%)
HSVhsv(271, 56%, 86%)
CMYKcmyk(27.4%, 56.2%, 0%, 14.1%)
CIE-LABlab(52.79, 48.66, -53.51)
CIE-LCHlch(52.79, 72.32, 312.28°)
OKLaboklab(61.36% 0.1066 -0.1509)
OKLCHoklch(61.36% 0.185 305.2)
XYZxyz(31.2644, 20.8513, 69.3818)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F60DB #9CDB60
analogous
#6260DB #9F60DB #DB60D9
triadic
#9F60DB #DB9F60 #60DB9F
tetradic
#9F60DB #DB6260 #9CDB60 #60D9DB
square
#9F60DB #DB6260 #9CDB60 #60D9DB
split-complementary
#9F60DB #D9DB60 #60DB62
monochromatic
#62249D #812FCF #9F60DB #BD92E6 #DBC4F2

Accessibility & contrast

On white

4.06
#9F60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9F60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F60DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F60DB#FFFFFF#000000##000000
##9F60DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#957894
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f60db;
/* rgb */ color: rgb(159, 96, 219);
/* oklch */ color: oklch(61.4% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#bf8fe7',
    500: '#9f60db',
    950: '#000000',
  },
}
SCSS
$custom: #9f60db;
$custom-light: #bf8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f60db",
  "rgb": {
    "r": 159,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 270.732,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.1847,
    "h": 305.2
  },
  "luminance": 0.20851
}

Semantic roles & 50–950 ramp

primary
#9F60DB
secondary
#CBE2B5
accent
#CB1B71
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9F60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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