#B45CB2#B45CB2

#B45CB2 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.157 H 328.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B45CB2
RGBrgb(180, 92, 178)
HSLhsl(301, 37%, 53%)
HSVhsv(301, 49%, 71%)
CMYKcmyk(0%, 48.9%, 1.1%, 29.4%)
CIE-LABlab(52.48, 47.83, -30.32)
CIE-LCHlch(52.48, 56.63, 327.63°)
OKLaboklab(61.01% 0.1336 -0.083)
OKLCHoklch(61.01% 0.157 328.1)
XYZxyz(30.6850, 20.5736, 44.4657)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CB2 #5CB45E
analogous
#8A5CB4 #B45CB2 #B45C86
triadic
#B45CB2 #B2B45C #5CB2B4
tetradic
#B45CB2 #B48A5C #5CB45E #5C86B4
square
#B45CB2 #B48A5C #5CB45E #5C86B4
split-complementary
#B45CB2 #86B45C #5CB48A
monochromatic
#662F65 #90428F #B45CB2 #C786C6 #DBB0DA

Accessibility & contrast

On white

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

On black

5.11
#B45CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CB2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CB2#FFFFFF#000000##000000
##B45CB21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#B9657F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45cb2;
/* rgb */ color: rgb(180, 92, 178);
/* oklch */ color: oklch(61.0% 0.157 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc8dc9',
    500: '#b45cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b45cb2;
$custom-light: #cc8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cb2",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 301.364,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.15726,
    "h": 328.1
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#B45CB2
secondary
#A3C9A4
accent
#CD5D5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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