#9960DA#9960DA

#9960DA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.182 H 302.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9960DA
RGBrgb(153, 96, 218)
HSLhsl(268, 62%, 62%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(29.8%, 56%, 0%, 14.5%)
CIE-LABlab(52.06, 46.95, -54.14)
CIE-LCHlch(52.06, 71.66, 310.94°)
OKLaboklab(60.66% 0.099 -0.1529)
OKLCHoklch(60.66% 0.182 302.9)
XYZxyz(29.9718, 20.2000, 68.6361)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960DA #A1DA60
analogous
#6064DA #9960DA #D660DA
triadic
#9960DA #DA9960 #60DA99
tetradic
#9960DA #DA6064 #A1DA60 #60DAD6
square
#9960DA #DA6064 #A1DA60 #60DAD6
split-complementary
#9960DA #DAD660 #64DA60
monochromatic
#5C249B #7930CD #9960DA #B992E6 #D9C3F1

Accessibility & contrast

On white

4.17
#9960DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9960DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960DA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960DA#FFFFFF#000000##000000
##9960DA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#8D7894
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9960da;
/* rgb */ color: rgb(153, 96, 218);
/* oklch */ color: oklch(60.7% 0.182 302.9);
Tailwind
colors: {
  custom: {
    50: '#ba8fe6',
    500: '#9960da',
    950: '#000000',
  },
}
SCSS
$custom: #9960da;
$custom-light: #ba8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9960da",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 218
  },
  "hsl": {
    "h": 268.033,
    "s": 62.245,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.18211,
    "h": 302.9
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#9960DA
secondary
#CCE2B4
accent
#CA1C78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9960DA

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

Preview Lab → · Contrast checker → · Palette generator →

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