#9B45BE#9B45BE

#9B45BE is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.192 H 314.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B45BE
RGBrgb(155, 69, 190)
HSLhsl(283, 48%, 51%)
HSVhsv(283, 64%, 75%)
CMYKcmyk(18.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(45.56, 54.77, -48.45)
CIE-LCHlch(45.56, 73.12, 318.50°)
OKLaboklab(55.43% 0.1349 -0.136)
OKLCHoklch(55.43% 0.192 314.8)
XYZxyz(24.9384, 14.9433, 50.2759)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45BE #68BE45
analogous
#5E45BE #9B45BE #BE45A4
triadic
#9B45BE #BE9B45 #45BE9B
tetradic
#9B45BE #BE5E45 #68BE45 #45A4BE
square
#9B45BE #BE5E45 #68BE45 #45A4BE
split-complementary
#9B45BE #A4BE45 #45BE5E
monochromatic
#522365 #773393 #9B45BE #B372CE #CCA0DE

Accessibility & contrast

On white

5.27
#9B45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45BE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45BE#FFFFFF#000000##FFFFFF
##9B45BE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#985B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b45be;
/* rgb */ color: rgb(155, 69, 190);
/* oklch */ color: oklch(55.4% 0.192 314.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ed2',
    500: '#9b45be',
    950: '#000000',
  },
}
SCSS
$custom: #9b45be;
$custom-light: #bc7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45be",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 282.645,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.19158,
    "h": 314.8
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#9B45BE
secondary
#A4CA95
accent
#D85077
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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