#9962DD#9962DD

#9962DD is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.183 H 301.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9962DD
RGBrgb(153, 98, 221)
HSLhsl(267, 64%, 63%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(30.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(52.65, 46.60, -54.89)
CIE-LCHlch(52.65, 72.01, 310.33°)
OKLaboklab(61.15% 0.0965 -0.1551)
OKLCHoklch(61.15% 0.183 301.9)
XYZxyz(30.5527, 20.7281, 70.7839)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962DD #A6DD62
analogous
#6269DD #9962DD #D662DD
triadic
#9962DD #DD9962 #62DD99
tetradic
#9962DD #DD6269 #A6DD62 #62DDD6
square
#9962DD #DD6269 #A6DD62 #62DDD6
split-complementary
#9962DD #DDD662 #69DD62
monochromatic
#5C23A2 #7830D2 #9962DD #BA94E8 #DAC7F3

Accessibility & contrast

On white

4.08
#9962DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9962DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962DD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962DD#FFFFFF#000000##000000
##9962DD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7DE1
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#8C7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9962dd;
/* rgb */ color: rgb(153, 98, 221);
/* oklch */ color: oklch(61.1% 0.183 301.9);
Tailwind
colors: {
  custom: {
    50: '#bb90e8',
    500: '#9962dd',
    950: '#000000',
  },
}
SCSS
$custom: #9962dd;
$custom-light: #bb90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9962dd",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 266.829,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.18268,
    "h": 301.9
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#9962DD
secondary
#D0E4B7
accent
#CC197C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9962DD

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

Preview Lab → · Contrast checker → · Palette generator →

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