#B45BB4#B45BB4

#B45BB4 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.161 H 327.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B45BB4
RGBrgb(180, 91, 180)
HSLhsl(300, 37%, 53%)
HSVhsv(300, 49%, 71%)
CMYKcmyk(0%, 49.4%, 0%, 29.4%)
CIE-LABlab(52.38, 48.70, -31.63)
CIE-LCHlch(52.38, 58.07, 326.99°)
OKLaboklab(60.96% 0.1353 -0.0868)
OKLCHoklch(60.96% 0.161 327.3)
XYZxyz(30.8012, 20.4824, 45.5023)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB4 #5BB45B
analogous
#875BB4 #B45BB4 #B45B87
triadic
#B45BB4 #B4B45B #5BB4B4
tetradic
#B45BB4 #B4875B #5BB45B #5B87B4
square
#B45BB4 #B4875B #5BB45B #5B87B4
split-complementary
#B45BB4 #87B45B #5BB487
monochromatic
#662F66 #904290 #B45BB4 #C785C7 #DAAFDA

Accessibility & contrast

On white

4.12
#B45BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B45BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB4#FFFFFF#000000##000000
##B45BB41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5376B7
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#B9657F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb4;
/* rgb */ color: rgb(180, 91, 180);
/* oklch */ color: oklch(61.0% 0.161 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc8dca',
    500: '#b45bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb4;
$custom-light: #cc8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb4",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.16076,
    "h": 327.3
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#B45BB4
secondary
#A2C9A2
accent
#CD5B5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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