#9945BF#9945BF

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

Color values

HEX#9945BF
RGBrgb(153, 69, 191)
HSLhsl(281, 49%, 51%)
HSVhsv(281, 64%, 75%)
CMYKcmyk(19.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(45.35, 54.51, -49.39)
CIE-LCHlch(45.35, 73.55, 317.82°)
OKLaboklab(55.24% 0.1323 -0.1388)
OKLCHoklch(55.24% 0.192 313.6)
XYZxyz(24.6674, 14.7909, 50.8356)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945BF #6BBF45
analogous
#5C45BF #9945BF #BF45A8
triadic
#9945BF #BF9945 #45BF99
tetradic
#9945BF #BF5C45 #6BBF45 #45A8BF
square
#9945BF #BF5C45 #6BBF45 #45A8BF
split-complementary
#9945BF #A8BF45 #45BF5C
monochromatic
#512366 #763394 #9945BF #B273CF #CBA0DE

Accessibility & contrast

On white

5.31
#9945BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9945BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945BF#FFFFFF#000000##FFFFFF
##9945BF1.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)
#0E67C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#955C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9945bf;
/* rgb */ color: rgb(153, 69, 191);
/* oklch */ color: oklch(55.2% 0.192 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba7ed3',
    500: '#9945bf',
    950: '#000000',
  },
}
SCSS
$custom: #9945bf;
$custom-light: #ba7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9945bf",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 281.311,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.19182,
    "h": 313.6
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#9945BF
secondary
#A6CB95
accent
#D84F7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9945BF

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

Preview Lab → · Contrast checker → · Palette generator →

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