#B45BB5#B45BB5

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

Color values

HEX#B45BB5
RGBrgb(180, 91, 181)
HSLhsl(299, 38%, 53%)
HSVhsv(299, 50%, 71%)
CMYKcmyk(0.6%, 49.7%, 0%, 29%)
CIE-LABlab(52.42, 48.89, -32.14)
CIE-LCHlch(52.42, 58.51, 326.67°)
OKLaboklab(61.01% 0.1355 -0.0882)
OKLCHoklch(61.01% 0.162 326.9)
XYZxyz(30.9034, 20.5233, 46.0407)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB5 #5CB55B
analogous
#875BB5 #B45BB5 #B55B89
triadic
#B45BB5 #B5B45B #5BB5B4
tetradic
#B45BB5 #B5875B #5CB55B #5B89B5
square
#B45BB5 #B5875B #5CB55B #5B89B5
split-complementary
#B45BB5 #89B55B #5BB587
monochromatic
#662F67 #904291 #B45BB5 #C785C8 #DBAFDB

Accessibility & contrast

On white

4.11
#B45BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45BB5#FFFFFF#000000##000000
##B45BB51.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5276B8
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#B96580
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb5;
/* rgb */ color: rgb(180, 91, 181);
/* oklch */ color: oklch(61.0% 0.162 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc8dcb',
    500: '#b45bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb5;
$custom-light: #cc8dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb5",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 299.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.16169,
    "h": 326.9
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#B45BB5
secondary
#A3C9A3
accent
#CE5A5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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