#9949C7#9949C7

#9949C7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.194 H 310.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9949C7
RGBrgb(153, 73, 199)
HSLhsl(278, 53%, 53%)
HSVhsv(278, 63%, 78%)
CMYKcmyk(23.1%, 63.3%, 0%, 22%)
CIE-LABlab(46.53, 54.34, -52.13)
CIE-LCHlch(46.53, 75.30, 316.19°)
OKLaboklab(56.25% 0.1273 -0.1469)
OKLCHoklch(56.25% 0.194 310.9)
XYZxyz(25.8263, 15.6615, 55.6842)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949C7 #77C749
analogous
#5A49C7 #9949C7 #C749B6
triadic
#9949C7 #C79949 #49C799
tetradic
#9949C7 #C75A49 #77C749 #49B6C7
square
#9949C7 #C75A49 #77C749 #49B6C7
split-complementary
#9949C7 #B6C749 #49C75A
monochromatic
#552372 #7832A1 #9949C7 #B378D5 #CDA7E4

Accessibility & contrast

On white

5.08
#9949C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9949C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949C7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949C7#FFFFFF#000000##FFFFFF
##9949C71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ACB
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#936281
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9949c7;
/* rgb */ color: rgb(153, 73, 199);
/* oklch */ color: oklch(56.3% 0.194 310.9);
Tailwind
colors: {
  custom: {
    50: '#bb81d9',
    500: '#9949c7',
    950: '#000000',
  },
}
SCSS
$custom: #9949c7;
$custom-light: #bb81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9949c7",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 278.095,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.19442,
    "h": 310.9
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#9949C7
secondary
#AFD19B
accent
#DC4B80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9949C7

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

Preview Lab → · Contrast checker → · Palette generator →

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