#9950CA#9950CA

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

Color values

HEX#9950CA
RGBrgb(153, 80, 202)
HSLhsl(276, 54%, 55%)
HSVhsv(276, 60%, 79%)
CMYKcmyk(24.3%, 60.4%, 0%, 20.8%)
CIE-LABlab(47.97, 51.56, -51.54)
CIE-LCHlch(47.97, 72.91, 315.01°)
OKLaboklab(57.36% 0.1188 -0.1452)
OKLCHoklch(57.36% 0.188 309.3)
XYZxyz(26.6641, 16.7744, 57.6988)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9950CA #81CA50
analogous
#5C50CA #9950CA #CA50BE
triadic
#9950CA #CA9950 #50CA99
tetradic
#9950CA #CA5C50 #81CA50 #50BECA
square
#9950CA #CA5C50 #81CA50 #50BECA
split-complementary
#9950CA #BECA50 #50CA5C
monochromatic
#58257A #7A33A9 #9950CA #B47FD8 #D0AEE6

Accessibility & contrast

On white

4.82
#9950CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9950CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9950CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9950CA#FFFFFF#000000##FFFFFF
##9950CA1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#926785
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9950ca;
/* rgb */ color: rgb(153, 80, 202);
/* oklch */ color: oklch(57.4% 0.188 309.3);
Tailwind
colors: {
  custom: {
    50: '#ba85db',
    500: '#9950ca',
    950: '#000000',
  },
}
SCSS
$custom: #9950ca;
$custom-light: #ba85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9950ca",
  "rgb": {
    "r": 153,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 275.902,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.18764,
    "h": 309.3
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#9950CA
secondary
#B6D4A1
accent
#DD4B86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9950CA

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

Preview Lab → · Contrast checker → · Palette generator →

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