#B45CB3#B45CB3

#B45CB3 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.158 H 327.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B45CB3
RGBrgb(180, 92, 179)
HSLhsl(301, 37%, 53%)
HSVhsv(301, 49%, 71%)
CMYKcmyk(0%, 48.9%, 0.6%, 29.4%)
CIE-LABlab(52.52, 48.01, -30.83)
CIE-LCHlch(52.52, 57.06, 327.30°)
OKLaboklab(61.06% 0.1337 -0.0845)
OKLCHoklch(61.06% 0.158 327.7)
XYZxyz(30.7857, 20.6140, 44.9964)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CB3 #5CB45D
analogous
#895CB4 #B45CB3 #B45C87
triadic
#B45CB3 #B3B45C #5CB3B4
tetradic
#B45CB3 #B4895C #5CB45D #5C87B4
square
#B45CB3 #B4895C #5CB45D #5C87B4
split-complementary
#B45CB3 #87B45C #5CB489
monochromatic
#662F66 #90428F #B45CB3 #C786C7 #DBB0DA

Accessibility & contrast

On white

4.10
#B45CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B45CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CB3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CB3#FFFFFF#000000##000000
##B45CB31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b45cb3;
/* rgb */ color: rgb(180, 92, 179);
/* oklch */ color: oklch(61.1% 0.158 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc8dca',
    500: '#b45cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b45cb3;
$custom-light: #cc8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cb3",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 300.682,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.15818,
    "h": 327.7
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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