#9B45BB#9B45BB

#9B45BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.189 H 315.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9B45BB
RGBrgb(155, 69, 187)
HSLhsl(284, 46%, 50%)
HSVhsv(284, 63%, 73%)
CMYKcmyk(17.1%, 63.1%, 0%, 26.7%)
CIE-LABlab(45.38, 54.14, -46.99)
CIE-LCHlch(45.38, 71.69, 319.05°)
OKLaboklab(55.25% 0.1349 -0.1318)
OKLCHoklch(55.25% 0.189 315.7)
XYZxyz(24.6139, 14.8135, 48.5668)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45BB #65BB45
analogous
#6045BB #9B45BB #BB45A0
triadic
#9B45BB #BB9B45 #45BB9B
tetradic
#9B45BB #BB6045 #65BB45 #45A0BB
square
#9B45BB #BB6045 #65BB45 #45A0BB
split-complementary
#9B45BB #A0BB45 #45BB60
monochromatic
#512462 #76348F #9B45BB #B372CB #CB9FDC

Accessibility & contrast

On white

5.30
#9B45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9B45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45BB#FFFFFF#000000##FFFFFF
##9B45BB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#995A7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b45bb;
/* rgb */ color: rgb(155, 69, 187);
/* oklch */ color: oklch(55.2% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc7ed0',
    500: '#9b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b45bb;
$custom-light: #bc7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45bb",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 283.729,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.1886,
    "h": 315.7
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#9B45BB
secondary
#A2C894
accent
#D65276
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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