#9B45BC#9B45BC

#9B45BC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.190 H 315.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9B45BC
RGBrgb(155, 69, 188)
HSLhsl(283, 47%, 50%)
HSVhsv(283, 63%, 74%)
CMYKcmyk(17.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(45.44, 54.35, -47.48)
CIE-LCHlch(45.44, 72.17, 318.86°)
OKLaboklab(55.31% 0.1349 -0.1332)
OKLCHoklch(55.31% 0.19 315.4)
XYZxyz(24.7214, 14.8565, 49.1326)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45BC #66BC45
analogous
#5F45BC #9B45BC #BC45A2
triadic
#9B45BC #BC9B45 #45BC9B
tetradic
#9B45BC #BC5F45 #66BC45 #45A2BC
square
#9B45BC #BC5F45 #66BC45 #45A2BC
split-complementary
#9B45BC #A2BC45 #45BC5F
monochromatic
#512463 #763490 #9B45BC #B372CC #CB9FDC

Accessibility & contrast

On white

5.29
#9B45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9B45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45BC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45BC#FFFFFF#000000##FFFFFF
##9B45BC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#995B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b45bc;
/* rgb */ color: rgb(155, 69, 188);
/* oklch */ color: oklch(55.3% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ed1',
    500: '#9b45bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b45bc;
$custom-light: #bc7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45bc",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 283.361,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.18959,
    "h": 315.4
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#9B45BC
secondary
#A3C994
accent
#D75176
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B45BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9B45BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva