#9946BC#9946BC

#9946BC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.187 H 314.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9946BC
RGBrgb(153, 70, 188)
HSLhsl(282, 47%, 51%)
HSVhsv(282, 63%, 74%)
CMYKcmyk(18.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.34, 53.40, -47.65)
CIE-LCHlch(45.34, 71.57, 318.26°)
OKLaboklab(55.18% 0.1312 -0.1338)
OKLCHoklch(55.18% 0.187 314.4)
XYZxyz(24.4026, 14.7842, 49.1354)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946BC #69BC46
analogous
#5E46BC #9946BC #BC46A4
triadic
#9946BC #BC9946 #46BC99
tetradic
#9946BC #BC5E46 #69BC46 #46A4BC
square
#9946BC #BC5E46 #69BC46 #46A4BC
split-complementary
#9946BC #A4BC46 #46BC5E
monochromatic
#512464 #753490 #9946BC #B273CC #CBA0DD

Accessibility & contrast

On white

5.31
#9946BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9946BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946BC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946BC#FFFFFF#000000##FFFFFF
##9946BC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#965C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9946bc;
/* rgb */ color: rgb(153, 70, 188);
/* oklch */ color: oklch(55.2% 0.187 314.4);
Tailwind
colors: {
  custom: {
    50: '#ba7ed1',
    500: '#9946bc',
    950: '#000000',
  },
}
SCSS
$custom: #9946bc;
$custom-light: #ba7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9946bc",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 282.203,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.18739,
    "h": 314.4
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#9946BC
secondary
#A4C995
accent
#D65179
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9946BC

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

Preview Lab → · Contrast checker → · Palette generator →

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