#9960CA#9960CA

#9960CA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.163 H 307.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9960CA
RGBrgb(153, 96, 202)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 52%, 79%)
CMYKcmyk(24.3%, 52.5%, 0%, 20.8%)
CIE-LABlab(51.15, 43.15, -46.47)
CIE-LCHlch(51.15, 63.41, 312.88°)
OKLaboklab(59.7% 0.0982 -0.1304)
OKLCHoklch(59.7% 0.163 307)
XYZxyz(27.9782, 19.4026, 58.1368)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960CA #91CA60
analogous
#6460CA #9960CA #CA60C6
triadic
#9960CA #CA9960 #60CA99
tetradic
#9960CA #CA6460 #91CA60 #60C6CA
square
#9960CA #CA6460 #91CA60 #60C6CA
split-complementary
#9960CA #C6CA60 #60CA64
monochromatic
#5B2C84 #7B3BB2 #9960CA #B68ED9 #D4BCE9

Accessibility & contrast

On white

4.30
#9960CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9960CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960CA#FFFFFF#000000##000000
##9960CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#92738C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9960ca;
/* rgb */ color: rgb(153, 96, 202);
/* oklch */ color: oklch(59.7% 0.163 307.0);
Tailwind
colors: {
  custom: {
    50: '#ba8fda',
    500: '#9960ca',
    950: '#000000',
  },
}
SCSS
$custom: #9960ca;
$custom-light: #ba8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9960ca",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 272.264,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.16325,
    "h": 307
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#9960CA
secondary
#C1D8AE
accent
#DA4E8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9960CA

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

Preview Lab → · Contrast checker → · Palette generator →

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