#B45BB9#B45BB9

#B45BB9 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.165 H 325.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B45BB9
RGBrgb(180, 91, 185)
HSLhsl(297, 40%, 54%)
HSVhsv(297, 51%, 73%)
CMYKcmyk(2.7%, 50.8%, 0%, 27.5%)
CIE-LABlab(52.61, 49.63, -34.17)
CIE-LCHlch(52.61, 60.25, 325.45°)
OKLaboklab(61.21% 0.1361 -0.0941)
OKLCHoklch(61.21% 0.165 325.3)
XYZxyz(31.3197, 20.6899, 48.2334)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB9 #60B95B
analogous
#855BB9 #B45BB9 #B95B8F
triadic
#B45BB9 #B9B45B #5BB9B4
tetradic
#B45BB9 #B9855B #60B95B #5B8FB9
square
#B45BB9 #B9855B #60B95B #5B8FB9
split-complementary
#B45BB9 #8FB95B #5BB985
monochromatic
#682E6C #924097 #B45BB9 #C886CB #DBB1DE

Accessibility & contrast

On white

4.09
#B45BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B45BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB9#FFFFFF#000000##000000
##B45BB91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BC
Deuteranopia (green-blind)
#6B81B6
Tritanopia (blue-blind)
#B86682
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45bb9;
/* rgb */ color: rgb(180, 91, 185);
/* oklch */ color: oklch(61.2% 0.165 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd8dce',
    500: '#b45bb9',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb9;
$custom-light: #cd8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb9",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 296.809,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.16543,
    "h": 325.3
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#B45BB9
secondary
#A6CCA4
accent
#D0585E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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