#9B45BF#9B45BF

#9B45BF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.193 H 314.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9B45BF
RGBrgb(155, 69, 191)
HSLhsl(282, 49%, 51%)
HSVhsv(282, 64%, 75%)
CMYKcmyk(18.8%, 63.9%, 0%, 25.1%)
CIE-LABlab(45.62, 54.98, -48.94)
CIE-LCHlch(45.62, 73.60, 318.33°)
OKLaboklab(55.5% 0.1349 -0.1375)
OKLCHoklch(55.5% 0.193 314.4)
XYZxyz(25.0481, 14.9872, 50.8535)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45BF #69BF45
analogous
#5E45BF #9B45BF #BF45A6
triadic
#9B45BF #BF9B45 #45BF9B
tetradic
#9B45BF #BF5E45 #69BF45 #45A6BF
square
#9B45BF #BF5E45 #69BF45 #45A6BF
split-complementary
#9B45BF #A6BF45 #45BF5E
monochromatic
#532366 #773394 #9B45BF #B373CF #CCA0DE

Accessibility & contrast

On white

5.25
#9B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9B45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45BF#FFFFFF#000000##FFFFFF
##9B45BF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#985C7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b45bf;
/* rgb */ color: rgb(155, 69, 191);
/* oklch */ color: oklch(55.5% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ed3',
    500: '#9b45bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b45bf;
$custom-light: #bc7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45bf",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 282.295,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.19258,
    "h": 314.4
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#9B45BF
secondary
#A5CB95
accent
#D84F78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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