#9950CB#9950CB

#9950CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.189 H 309.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9950CB
RGBrgb(153, 80, 203)
HSLhsl(276, 54%, 55%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.6%, 60.6%, 0%, 20.4%)
CIE-LABlab(48.03, 51.79, -52.02)
CIE-LCHlch(48.03, 73.41, 314.87°)
OKLaboklab(57.43% 0.1188 -0.1466)
OKLCHoklch(57.43% 0.189 309)
XYZxyz(26.7829, 16.8219, 58.3244)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9950CB #82CB50
analogous
#5B50CB #9950CB #CB50BF
triadic
#9950CB #CB9950 #50CB99
tetradic
#9950CB #CB5B50 #82CB50 #50BFCB
square
#9950CB #CB5B50 #82CB50 #50BFCB
split-complementary
#9950CB #BFCB50 #50CB5B
monochromatic
#58257C #7A33AB #9950CB #B47FD9 #D0AEE7

Accessibility & contrast

On white

4.81
#9950CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9950CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9950CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9950CB#FFFFFF#000000##FFFFFF
##9950CB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#926886
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9950cb;
/* rgb */ color: rgb(153, 80, 203);
/* oklch */ color: oklch(57.4% 0.189 309.0);
Tailwind
colors: {
  custom: {
    50: '#ba85db',
    500: '#9950cb',
    950: '#000000',
  },
}
SCSS
$custom: #9950cb;
$custom-light: #ba85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9950cb",
  "rgb": {
    "r": 153,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 275.61,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.18872,
    "h": 309
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#9950CB
secondary
#B7D5A2
accent
#DE4A86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9950CB

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

Preview Lab → · Contrast checker → · Palette generator →

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