#9960EB#9960EB

#9960EB is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.7% C 0.202 H 299.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9960EB
RGBrgb(153, 96, 235)
HSLhsl(265, 78%, 65%)
HSVhsv(265, 59%, 92%)
CMYKcmyk(34.9%, 59.1%, 0%, 7.8%)
CIE-LABlab(53.10, 51.12, -62.05)
CIE-LCHlch(53.10, 80.40, 309.48°)
OKLaboklab(61.75% 0.0989 -0.1761)
OKLCHoklch(61.75% 0.202 299.3)
XYZxyz(32.3115, 21.1359, 80.9585)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960EB #B2EB60
analogous
#606DEB #9960EB #DE60EB
triadic
#9960EB #EB9960 #60EB99
tetradic
#9960EB #EB606D #B2EB60 #60EBDE
square
#9960EB #EB606D #B2EB60 #60EBDE
split-complementary
#9960EB #EBDE60 #6DEB60
monochromatic
#5A17B9 #762AE4 #9960EB #BC96F2 #DFCDF9

Accessibility & contrast

On white

4.02
#9960EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9960EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960EB#FFFFFF#000000##000000
##9960EB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FEF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#877D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9960eb;
/* rgb */ color: rgb(153, 96, 235);
/* oklch */ color: oklch(61.7% 0.202 299.3);
Tailwind
colors: {
  custom: {
    50: '#bc8ff2',
    500: '#9960eb',
    950: '#000000',
  },
}
SCSS
$custom: #9960eb;
$custom-light: #bc8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9960eb",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 264.604,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61747,
    "c": 0.20199,
    "h": 299.3
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#9960EB
secondary
#D8EBBC
accent
#DA0C85
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9960EB

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

Preview Lab → · Contrast checker → · Palette generator →

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