#B45CB4#B45CB4

#B45CB4 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.1% C 0.159 H 327.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B45CB4
RGBrgb(180, 92, 180)
HSLhsl(300, 37%, 53%)
HSVhsv(300, 49%, 71%)
CMYKcmyk(0%, 48.9%, 0%, 29.4%)
CIE-LABlab(52.57, 48.20, -31.34)
CIE-LCHlch(52.57, 57.49, 326.97°)
OKLaboklab(61.1% 0.1339 -0.0859)
OKLCHoklch(61.1% 0.159 327.3)
XYZxyz(30.8872, 20.6546, 45.5310)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CB4 #5CB45C
analogous
#885CB4 #B45CB4 #B45C88
triadic
#B45CB4 #B4B45C #5CB4B4
tetradic
#B45CB4 #B4885C #5CB45C #5C88B4
square
#B45CB4 #B4885C #5CB45C #5C88B4
split-complementary
#B45CB4 #88B45C #5CB488
monochromatic
#662F66 #904290 #B45CB4 #C786C7 #DBB0DB

Accessibility & contrast

On white

4.09
#B45CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B45CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CB4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CB4#FFFFFF#000000##000000
##B45CB41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#B96580
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45cb4;
/* rgb */ color: rgb(180, 92, 180);
/* oklch */ color: oklch(61.1% 0.159 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc8dca',
    500: '#b45cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b45cb4;
$custom-light: #cc8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cb4",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.15911,
    "h": 327.3
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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