#9946D8#9946D8

#9946D8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.216 H 306.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9946D8
RGBrgb(153, 70, 216)
HSLhsl(274, 65%, 56%)
HSVhsv(274, 68%, 85%)
CMYKcmyk(29.2%, 67.6%, 0%, 15.3%)
CIE-LABlab(47.12, 59.51, -60.95)
CIE-LCHlch(47.12, 85.18, 314.32°)
OKLaboklab(57.03% 0.1294 -0.1728)
OKLCHoklch(57.03% 0.216 306.8)
XYZxyz(27.7191, 16.1108, 66.6019)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946D8 #85D846
analogous
#5046D8 #9946D8 #D846CE
triadic
#9946D8 #D89946 #46D899
tetradic
#9946D8 #D85046 #85D846 #46CED8
square
#9946D8 #D85046 #85D846 #46CED8
split-complementary
#9946D8 #CED846 #46D850
monochromatic
#591C87 #7A27BA #9946D8 #B579E3 #D1ABED

Accessibility & contrast

On white

4.97
#9946D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9946D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946D8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946D8#FFFFFF#000000##FFFFFF
##9946D81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#1E70D5
Tritanopia (blue-blind)
#8E668A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9946d8;
/* rgb */ color: rgb(153, 70, 216);
/* oklch */ color: oklch(57.0% 0.216 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc7fe5',
    500: '#9946d8',
    950: '#000000',
  },
}
SCSS
$custom: #9946d8;
$custom-light: #bc7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9946d8",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 274.11,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.21586,
    "h": 306.8
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#9946D8
secondary
#B9DB9F
accent
#E84088
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9946D8

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

Preview Lab → · Contrast checker → · Palette generator →

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