#9950DC#9950DC

#9950DC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.207 H 304.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9950DC
RGBrgb(153, 80, 220)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 86%)
CMYKcmyk(30.5%, 63.6%, 0%, 13.7%)
CIE-LABlab(49.10, 55.69, -60.03)
CIE-LCHlch(49.10, 81.88, 312.85°)
OKLaboklab(58.54% 0.1181 -0.1701)
OKLCHoklch(58.54% 0.207 304.8)
XYZxyz(28.9209, 17.6771, 69.5847)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9950DC #93DC50
analogous
#5350DC #9950DC #DC50D9
triadic
#9950DC #DC9950 #50DC99
tetradic
#9950DC #DC5350 #93DC50 #50D9DC
square
#9950DC #DC5350 #93DC50 #50D9DC
split-complementary
#9950DC #D9DC50 #50DC53
monochromatic
#5B1E94 #7B28C7 #9950DC #B783E6 #D4B6F0

Accessibility & contrast

On white

4.63
#9950DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9950DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9950DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9950DC#FFFFFF#000000##FFFFFF
##9950DC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#8D6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9950dc;
/* rgb */ color: rgb(153, 80, 220);
/* oklch */ color: oklch(58.5% 0.207 304.8);
Tailwind
colors: {
  custom: {
    50: '#bb85e8',
    500: '#9950dc',
    950: '#000000',
  },
}
SCSS
$custom: #9950dc;
$custom-light: #bb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9950dc",
  "rgb": {
    "r": 153,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 271.286,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.20708,
    "h": 304.8
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#9950DC
secondary
#C3DFA8
accent
#EA3E90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9950DC

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

Preview Lab → · Contrast checker → · Palette generator →

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