#B45BB3#B45BB3

#B45BB3 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.160 H 327.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B45BB3
RGBrgb(180, 91, 179)
HSLhsl(301, 37%, 53%)
HSVhsv(301, 49%, 71%)
CMYKcmyk(0%, 49.4%, 0.6%, 29.4%)
CIE-LABlab(52.33, 48.52, -31.12)
CIE-LCHlch(52.33, 57.64, 327.32°)
OKLaboklab(60.91% 0.1352 -0.0853)
OKLCHoklch(60.91% 0.16 327.7)
XYZxyz(30.6997, 20.4418, 44.9677)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB3 #5BB45C
analogous
#885BB4 #B45BB3 #B45B86
triadic
#B45BB3 #B3B45B #5BB3B4
tetradic
#B45BB3 #B4885B #5BB45C #5B86B4
square
#B45BB3 #B4885B #5BB45C #5B86B4
split-complementary
#B45BB3 #86B45B #5BB488
monochromatic
#662F65 #90428F #B45BB3 #C785C6 #DAAFDA

Accessibility & contrast

On white

4.13
#B45BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B45BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB3#FFFFFF#000000##000000
##B45BB31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#B9647F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb3;
/* rgb */ color: rgb(180, 91, 179);
/* oklch */ color: oklch(60.9% 0.160 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc8dca',
    500: '#b45bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb3;
$custom-light: #cc8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb3",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 300.674,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.15983,
    "h": 327.7
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#B45BB3
secondary
#A2C9A3
accent
#CD5C5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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