#B45BB1#B45BB1

#B45BB1 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.158 H 328.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B45BB1
RGBrgb(180, 91, 177)
HSLhsl(302, 37%, 53%)
HSVhsv(302, 49%, 71%)
CMYKcmyk(0%, 49.4%, 1.7%, 29.4%)
CIE-LABlab(52.24, 48.16, -30.10)
CIE-LCHlch(52.24, 56.79, 327.99°)
OKLaboklab(60.82% 0.1348 -0.0824)
OKLCHoklch(60.82% 0.158 328.6)
XYZxyz(30.4989, 20.3615, 43.9102)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB1 #5BB45E
analogous
#8A5BB4 #B45BB1 #B45B85
triadic
#B45BB1 #B1B45B #5BB1B4
tetradic
#B45BB1 #B48A5B #5BB45E #5B85B4
square
#B45BB1 #B48A5B #5BB45E #5B85B4
split-complementary
#B45BB1 #85B45B #5BB48A
monochromatic
#662F64 #90428D #B45BB1 #C785C5 #DAAFD9

Accessibility & contrast

On white

4.14
#B45BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B45BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB1#FFFFFF#000000##000000
##B45BB11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B4
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#B9647E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb1;
/* rgb */ color: rgb(180, 91, 177);
/* oklch */ color: oklch(60.8% 0.158 328.6);
Tailwind
colors: {
  custom: {
    50: '#cc8dc8',
    500: '#b45bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb1;
$custom-light: #cc8dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb1",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 302.022,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.158,
    "h": 328.6
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#B45BB1
secondary
#A2C9A4
accent
#CD5E5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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