#9960E8#9960E8

#9960E8 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.199 H 299.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9960E8
RGBrgb(153, 96, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.1%, 58.6%, 0%, 9%)
CIE-LABlab(52.91, 50.38, -60.67)
CIE-LCHlch(52.91, 78.86, 309.70°)
OKLaboklab(61.55% 0.099 -0.1721)
OKLCHoklch(61.55% 0.199 299.9)
XYZxyz(31.8817, 20.9640, 78.6951)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9960E8 #AFE860
analogous
#606BE8 #9960E8 #DD60E8
triadic
#9960E8 #E89960 #60E899
tetradic
#9960E8 #E8606B #AFE860 #60E8DD
square
#9960E8 #E8606B #AFE860 #60E8DD
split-complementary
#9960E8 #E8DD60 #6BE860
monochromatic
#5A1AB4 #772BE0 #9960E8 #BB95F0 #DECBF7

Accessibility & contrast

On white

4.04
#9960E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9960E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9960E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9960E8#FFFFFF#000000##000000
##9960E81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#137EEC
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#887C9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9960e8;
/* rgb */ color: rgb(153, 96, 232);
/* oklch */ color: oklch(61.6% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ff0',
    500: '#9960e8',
    950: '#000000',
  },
}
SCSS
$custom: #9960e8;
$custom-light: #bb8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9960e8",
  "rgb": {
    "r": 153,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 265.147,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.1985,
    "h": 299.9
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

primary
#9960E8
secondary
#D6E9BA
accent
#D70F83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9960E8

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

Preview Lab → · Contrast checker → · Palette generator →

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