#9942BC#9942BC

#9942BC is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.193 H 314.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9942BC
RGBrgb(153, 66, 188)
HSLhsl(283, 48%, 50%)
HSVhsv(283, 65%, 74%)
CMYKcmyk(18.6%, 64.9%, 0%, 26.3%)
CIE-LABlab(44.66, 55.26, -48.73)
CIE-LCHlch(44.66, 73.68, 318.59°)
OKLaboklab(54.69% 0.136 -0.1369)
OKLCHoklch(54.69% 0.193 314.8)
XYZxyz(24.1607, 14.3004, 49.0547)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942BC #65BC42
analogous
#5C42BC #9942BC #BC42A2
triadic
#9942BC #BC9942 #42BC99
tetradic
#9942BC #BC5C42 #65BC42 #42A2BC
square
#9942BC #BC5C42 #65BC42 #42A2BC
split-complementary
#9942BC #A2BC42 #42BC5C
monochromatic
#4F2261 #74328F #9942BC #B26FCC #CA9CDC

Accessibility & contrast

On white

5.44
#9942BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9942BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942BC#FFFFFF#000000##FFFFFF
##9942BC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#965979
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9942bc;
/* rgb */ color: rgb(153, 66, 188);
/* oklch */ color: oklch(54.7% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba7cd1',
    500: '#9942bc',
    950: '#000000',
  },
}
SCSS
$custom: #9942bc;
$custom-light: #ba7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9942bc",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 282.787,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.19296,
    "h": 314.8
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#9942BC
secondary
#A1C991
accent
#D85077
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9942BC

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

Preview Lab → · Contrast checker → · Palette generator →

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