#9946D9#9946D9

#9946D9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.217 H 306.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9946D9
RGBrgb(153, 70, 217)
HSLhsl(274, 66%, 56%)
HSVhsv(274, 68%, 85%)
CMYKcmyk(29.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(47.19, 59.73, -61.41)
CIE-LCHlch(47.19, 85.67, 314.21°)
OKLaboklab(57.1% 0.1293 -0.1741)
OKLCHoklch(57.1% 0.217 306.6)
XYZxyz(27.8487, 16.1627, 67.2848)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946D9 #86D946
analogous
#5046D9 #9946D9 #D946CF
triadic
#9946D9 #D99946 #46D999
tetradic
#9946D9 #D95046 #86D946 #46CFD9
square
#9946D9 #D95046 #86D946 #46CFD9
split-complementary
#9946D9 #CFD946 #46D950
monochromatic
#591C89 #7B26BB #9946D9 #B579E3 #D1ACEE

Accessibility & contrast

On white

4.96
#9946D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9946D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946D9#FFFFFF#000000##FFFFFF
##9946D91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#1C70D6
Tritanopia (blue-blind)
#8E678A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9946d9;
/* rgb */ color: rgb(153, 70, 217);
/* oklch */ color: oklch(57.1% 0.217 306.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fe6',
    500: '#9946d9',
    950: '#000000',
  },
}
SCSS
$custom: #9946d9;
$custom-light: #bc7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9946d9",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 273.878,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.571,
    "c": 0.21689,
    "h": 306.6
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#9946D9
secondary
#B9DC9F
accent
#E93F89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9946D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9946D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva