#B45BB8#B45BB8

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

Color values

HEX#B45BB8
RGBrgb(180, 91, 184)
HSLhsl(297, 40%, 54%)
HSVhsv(297, 51%, 72%)
CMYKcmyk(2.2%, 50.5%, 0%, 27.8%)
CIE-LABlab(52.56, 49.44, -33.67)
CIE-LCHlch(52.56, 59.81, 325.75°)
OKLaboklab(61.16% 0.1359 -0.0926)
OKLCHoklch(61.16% 0.164 325.7)
XYZxyz(31.2145, 20.6478, 47.6794)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB8 #5FB85B
analogous
#865BB8 #B45BB8 #B85B8E
triadic
#B45BB8 #B8B45B #5BB8B4
tetradic
#B45BB8 #B8865B #5FB85B #5B8EB8
square
#B45BB8 #B8865B #5FB85B #5B8EB8
split-complementary
#B45BB8 #8EB85B #5BB886
monochromatic
#682E6A #924195 #B45BB8 #C886CA #DBB0DD

Accessibility & contrast

On white

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

On black

5.13
#B45BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB8#FFFFFF#000000##000000
##B45BB81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176BB
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#B86681
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb8;
/* rgb */ color: rgb(180, 91, 184);
/* oklch */ color: oklch(61.2% 0.164 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd8dcd',
    500: '#b45bb8',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb8;
$custom-light: #cd8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb8",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 297.419,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.16449,
    "h": 325.7
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#B45BB8
secondary
#A5CBA4
accent
#CF585D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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