#9962EC#9962EC

#9962EC is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.1% C 0.200 H 298.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9962EC
RGBrgb(153, 98, 236)
HSLhsl(264, 78%, 65%)
HSVhsv(264, 58%, 93%)
CMYKcmyk(35.2%, 58.5%, 0%, 7.5%)
CIE-LABlab(53.56, 50.31, -61.87)
CIE-LCHlch(53.56, 79.74, 309.12°)
OKLaboklab(62.11% 0.0965 -0.1756)
OKLCHoklch(62.11% 0.2 298.8)
XYZxyz(32.6411, 21.5634, 81.7831)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962EC #B5EC62
analogous
#6270EC #9962EC #DE62EC
triadic
#9962EC #EC9962 #62EC99
tetradic
#9962EC #EC6270 #B5EC62 #62ECDE
square
#9962EC #EC6270 #B5EC62 #62ECDE
split-complementary
#9962EC #ECDE62 #70EC62
monochromatic
#5917BD #762BE5 #9962EC #BC99F3 #E0CFF9

Accessibility & contrast

On white

3.95
#9962EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9962EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962EC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962EC#FFFFFF#000000##000000
##9962EC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F0
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#877F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9962ec;
/* rgb */ color: rgb(153, 98, 236);
/* oklch */ color: oklch(62.1% 0.200 298.8);
Tailwind
colors: {
  custom: {
    50: '#bc91f3',
    500: '#9962ec',
    950: '#000000',
  },
}
SCSS
$custom: #9962ec;
$custom-light: #bc91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9962ec",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 263.913,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.20037,
    "h": 298.8
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#9962EC
secondary
#DAECBE
accent
#DB0B88
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9962EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9962EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva