#9959DC#9959DC

#9959DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.195 H 303.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9959DC
RGBrgb(153, 89, 220)
HSLhsl(269, 65%, 61%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(30.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(50.79, 51.14, -57.32)
CIE-LCHlch(50.79, 76.81, 311.74°)
OKLaboklab(59.76% 0.1076 -0.1622)
OKLCHoklch(59.76% 0.195 303.5)
XYZxyz(29.6246, 19.0844, 69.8192)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959DC #9CDC59
analogous
#595ADC #9959DC #DA59DC
triadic
#9959DC #DC9959 #59DC99
tetradic
#9959DC #DC595A #9CDC59 #59DCDA
square
#9959DC #DC595A #9CDC59 #59DCDA
split-complementary
#9959DC #DCDA59 #5ADC59
monochromatic
#5C209A #7A2BCD #9959DC #B88CE7 #D7BEF1

Accessibility & contrast

On white

4.36
#9959DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9959DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959DC#FFFFFF#000000##000000
##9959DC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477E0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#8D7492
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9959dc;
/* rgb */ color: rgb(153, 89, 220);
/* oklch */ color: oklch(59.8% 0.195 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb8be8',
    500: '#9959dc',
    950: '#000000',
  },
}
SCSS
$custom: #9959dc;
$custom-light: #bb8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9959dc",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 269.313,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.19462,
    "h": 303.5
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#9959DC
secondary
#C9E1AF
accent
#CD1875
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9959DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9959DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva