#B45BAE#B45BAE

#B45BAE is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.155 H 329.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B45BAE
RGBrgb(180, 91, 174)
HSLhsl(304, 37%, 53%)
HSVhsv(304, 49%, 71%)
CMYKcmyk(0%, 49.4%, 3.3%, 29.4%)
CIE-LABlab(52.11, 47.62, -28.56)
CIE-LCHlch(52.11, 55.53, 329.04°)
OKLaboklab(60.68% 0.1343 -0.078)
OKLCHoklch(60.68% 0.155 329.8)
XYZxyz(30.2031, 20.2432, 42.3527)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BAE #5BB461
analogous
#8D5BB4 #B45BAE #B45B81
triadic
#B45BAE #AEB45B #5BAEB4
tetradic
#B45BAE #B48D5B #5BB461 #5B81B4
square
#B45BAE #B48D5B #5BB461 #5B81B4
split-complementary
#B45BAE #81B45B #5BB48D
monochromatic
#662F62 #90428B #B45BAE #C785C3 #DAAFD7

Accessibility & contrast

On white

4.16
#B45BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B45BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BAE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BAE#FFFFFF#000000##000000
##B45BAE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#BA637C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45bae;
/* rgb */ color: rgb(180, 91, 174);
/* oklch */ color: oklch(60.7% 0.155 329.8);
Tailwind
colors: {
  custom: {
    50: '#cc8dc6',
    500: '#b45bae',
    950: '#000000',
  },
}
SCSS
$custom: #b45bae;
$custom-light: #cc8dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bae",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 304.045,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.15529,
    "h": 329.8
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#B45BAE
secondary
#A2C9A5
accent
#CD625B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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