#9945BC#9945BC

#9945BC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.189 H 314.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9945BC
RGBrgb(153, 69, 188)
HSLhsl(282, 47%, 50%)
HSVhsv(282, 63%, 74%)
CMYKcmyk(18.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(45.17, 53.87, -47.93)
CIE-LCHlch(45.17, 72.11, 318.34°)
OKLaboklab(55.05% 0.1324 -0.1346)
OKLCHoklch(55.05% 0.189 314.5)
XYZxyz(24.3406, 14.6602, 49.1147)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945BC #68BC45
analogous
#5D45BC #9945BC #BC45A3
triadic
#9945BC #BC9945 #45BC99
tetradic
#9945BC #BC5D45 #68BC45 #45A3BC
square
#9945BC #BC5D45 #68BC45 #45A3BC
split-complementary
#9945BC #A3BC45 #45BC5D
monochromatic
#502463 #753490 #9945BC #B272CC #CA9FDC

Accessibility & contrast

On white

5.34
#9945BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9945BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945BC#FFFFFF#000000##FFFFFF
##9945BC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#965B7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9945bc;
/* rgb */ color: rgb(153, 69, 188);
/* oklch */ color: oklch(55.1% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba7ed1',
    500: '#9945bc',
    950: '#000000',
  },
}
SCSS
$custom: #9945bc;
$custom-light: #ba7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9945bc",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 282.353,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.1888,
    "h": 314.5
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#9945BC
secondary
#A3C994
accent
#D75178
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9945BC

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

Preview Lab → · Contrast checker → · Palette generator →

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