#9949CA#9949CA

#9949CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.4% C 0.198 H 310.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9949CA
RGBrgb(153, 73, 202)
HSLhsl(277, 55%, 54%)
HSVhsv(277, 64%, 79%)
CMYKcmyk(24.3%, 63.9%, 0%, 20.8%)
CIE-LABlab(46.71, 55.00, -53.57)
CIE-LCHlch(46.71, 76.77, 315.75°)
OKLaboklab(56.45% 0.1272 -0.1511)
OKLCHoklch(56.45% 0.198 310.1)
XYZxyz(26.1780, 15.8022, 57.5368)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949CA #7ACA49
analogous
#5949CA #9949CA #CA49BB
triadic
#9949CA #CA9949 #49CA99
tetradic
#9949CA #CA5949 #7ACA49 #49BBCA
square
#9949CA #CA5949 #7ACA49 #49BBCA
split-complementary
#9949CA #BBCA49 #49CA59
monochromatic
#562276 #7930A6 #9949CA #B478D8 #CEA8E6

Accessibility & contrast

On white

5.05
#9949CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9949CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949CA#FFFFFF#000000##FFFFFF
##9949CA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#926383
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9949ca;
/* rgb */ color: rgb(153, 73, 202);
/* oklch */ color: oklch(56.4% 0.198 310.1);
Tailwind
colors: {
  custom: {
    50: '#bb81db',
    500: '#9949ca',
    950: '#000000',
  },
}
SCSS
$custom: #9949ca;
$custom-light: #bb81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9949ca",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 277.209,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.19753,
    "h": 310.1
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#9949CA
secondary
#B1D39C
accent
#DE4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9949CA

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

Preview Lab → · Contrast checker → · Palette generator →

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