#9960CC#9960CC

#9960CC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.166 H 306.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9960CC
RGBrgb(153, 96, 204)
HSLhsl(272, 51%, 59%)
HSVhsv(272, 53%, 80%)
CMYKcmyk(25%, 52.9%, 0%, 20%)
CIE-LABlab(51.26, 43.61, -47.44)
CIE-LCHlch(51.26, 64.44, 312.59°)
OKLaboklab(59.81% 0.0983 -0.1333)
OKLCHoklch(59.81% 0.166 306.4)
XYZxyz(28.2166, 19.4979, 59.3920)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960CC #93CC60
analogous
#6360CC #9960CC #CC60C9
triadic
#9960CC #CC9960 #60CC99
tetradic
#9960CC #CC6360 #93CC60 #60C9CC
square
#9960CC #CC6360 #93CC60 #60C9CC
split-complementary
#9960CC #C9CC60 #60CC63
monochromatic
#5B2B86 #7B3AB5 #9960CC #B78EDB #D4BDEA

Accessibility & contrast

On white

4.29
#9960CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9960CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960CC#FFFFFF#000000##000000
##9960CC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#507BC9
Tritanopia (blue-blind)
#91738D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9960cc;
/* rgb */ color: rgb(153, 96, 204);
/* oklch */ color: oklch(59.8% 0.166 306.4);
Tailwind
colors: {
  custom: {
    50: '#ba8fdc',
    500: '#9960cc',
    950: '#000000',
  },
}
SCSS
$custom: #9960cc;
$custom-light: #ba8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9960cc",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 271.667,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.16562,
    "h": 306.4
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#9960CC
secondary
#C3D9AF
accent
#DB4D90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9960CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9960CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva