#B45BB7#B45BB7

#B45BB7 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.164 H 326.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B45BB7
RGBrgb(180, 91, 183)
HSLhsl(298, 39%, 54%)
HSVhsv(298, 50%, 72%)
CMYKcmyk(1.6%, 50.3%, 0%, 28.2%)
CIE-LABlab(52.52, 49.26, -33.16)
CIE-LCHlch(52.52, 59.38, 326.05°)
OKLaboklab(61.11% 0.1358 -0.0912)
OKLCHoklch(61.11% 0.164 326.1)
XYZxyz(31.1101, 20.6060, 47.1293)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB7 #5EB75B
analogous
#865BB7 #B45BB7 #B75B8C
triadic
#B45BB7 #B7B45B #5BB7B4
tetradic
#B45BB7 #B7865B #5EB75B #5B8CB7
square
#B45BB7 #B7865B #5EB75B #5B8CB7
split-complementary
#B45BB7 #8CB75B #5BB786
monochromatic
#672E69 #914194 #B45BB7 #C786CA #DBB0DC

Accessibility & contrast

On white

4.10
#B45BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B45BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB7#FFFFFF#000000##000000
##B45BB71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#B86581
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb7;
/* rgb */ color: rgb(180, 91, 183);
/* oklch */ color: oklch(61.1% 0.164 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc8dcd',
    500: '#b45bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb7;
$custom-light: #cc8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb7",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 298.043,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.16356,
    "h": 326.1
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#B45BB7
secondary
#A5CBA3
accent
#CF595D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB7

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

Preview Lab → · Contrast checker → · Palette generator →

#B45BB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva