#9960DD#9960DD

#9960DD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.186 H 302.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9960DD
RGBrgb(153, 96, 221)
HSLhsl(267, 65%, 62%)
HSVhsv(267, 57%, 87%)
CMYKcmyk(30.8%, 56.6%, 0%, 13.3%)
CIE-LABlab(52.24, 47.68, -55.55)
CIE-LCHlch(52.24, 73.21, 310.64°)
OKLaboklab(60.84% 0.099 -0.157)
OKLCHoklch(60.84% 0.186 302.2)
XYZxyz(30.3679, 20.3585, 70.7223)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960DD #A4DD60
analogous
#6066DD #9960DD #D860DD
triadic
#9960DD #DD9960 #60DD99
tetradic
#9960DD #DD6066 #A4DD60 #60DDD8
square
#9960DD #DD6066 #A4DD60 #60DDD8
split-complementary
#9960DD #DDD860 #66DD60
monochromatic
#5C22A0 #792ED2 #9960DD #B992E8 #DAC5F3

Accessibility & contrast

On white

4.14
#9960DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9960DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960DD#FFFFFF#000000##000000
##9960DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#8C7995
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9960dd;
/* rgb */ color: rgb(153, 96, 221);
/* oklch */ color: oklch(60.8% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb8fe8',
    500: '#9960dd',
    950: '#000000',
  },
}
SCSS
$custom: #9960dd;
$custom-light: #bb8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9960dd",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 221
  },
  "hsl": {
    "h": 267.36,
    "s": 64.767,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.18564,
    "h": 302.2
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#9960DD
secondary
#CEE3B5
accent
#CD197B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9960DD

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

Preview Lab → · Contrast checker → · Palette generator →

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