#9962BA#9962BA

#9962BA is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.1% C 0.141 H 311.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9962BA
RGBrgb(153, 98, 186)
HSLhsl(278, 39%, 56%)
HSVhsv(278, 47%, 73%)
CMYKcmyk(17.7%, 47.3%, 0%, 27.1%)
CIE-LABlab(50.75, 38.38, -37.90)
CIE-LCHlch(50.75, 53.94, 315.36°)
OKLaboklab(59.12% 0.0937 -0.1055)
OKLCHoklch(59.12% 0.141 311.6)
XYZxyz(26.3659, 19.0534, 48.7336)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962BA #83BA62
analogous
#6D62BA #9962BA #BA62AF
triadic
#9962BA #BA9962 #62BA99
tetradic
#9962BA #BA6D62 #83BA62 #62AFBA
square
#9962BA #BA6D62 #83BA62 #62AFBA
split-complementary
#9962BA #AFBA62 #62BA6D
monochromatic
#593170 #7A449B #9962BA #B58DCD #D0B7DF

Accessibility & contrast

On white

4.37
#9962BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9962BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962BA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962BA#FFFFFF#000000##000000
##9962BA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#967085
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9962ba;
/* rgb */ color: rgb(153, 98, 186);
/* oklch */ color: oklch(59.1% 0.141 311.6);
Tailwind
colors: {
  custom: {
    50: '#b990cf',
    500: '#9962ba',
    950: '#000000',
  },
}
SCSS
$custom: #9962ba;
$custom-light: #b990cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9962ba",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 277.5,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.14109,
    "h": 311.6
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#9962BA
secondary
#B7CEAA
accent
#CF5985
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120D14
muted
#817D82

Preview Lab

Preview with #9962BA

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

Preview Lab → · Contrast checker → · Palette generator →

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