#B45CAA#B45CAA

#B45CAA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.6% C 0.150 H 331.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B45CAA
RGBrgb(180, 92, 170)
HSLhsl(307, 37%, 53%)
HSVhsv(307, 49%, 71%)
CMYKcmyk(0%, 48.9%, 5.6%, 29.4%)
CIE-LABlab(52.13, 46.40, -26.20)
CIE-LCHlch(52.13, 53.29, 330.55°)
OKLaboklab(60.63% 0.1321 -0.0713)
OKLCHoklch(60.63% 0.15 331.6)
XYZxyz(29.9050, 20.2617, 40.3582)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CAA #5CB466
analogous
#925CB4 #B45CAA #B45C7E
triadic
#B45CAA #AAB45C #5CAAB4
tetradic
#B45CAA #B4925C #5CB466 #5C7EB4
square
#B45CAA #B4925C #5CB466 #5C7EB4
split-complementary
#B45CAA #7EB45C #5CB492
monochromatic
#662F60 #904288 #B45CAA #C786C0 #DBB0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CAA#FFFFFF#000000##000000
##B45CAA1.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)
#5975AD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#BA627B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45caa;
/* rgb */ color: rgb(180, 92, 170);
/* oklch */ color: oklch(60.6% 0.150 331.6);
Tailwind
colors: {
  custom: {
    50: '#cc8dc3',
    500: '#b45caa',
    950: '#000000',
  },
}
SCSS
$custom: #b45caa;
$custom-light: #cc8dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45caa",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 306.818,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.15006,
    "h": 331.6
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#B45CAA
secondary
#A3C9A7
accent
#CD685B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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