#B45CB0#B45CB0

#B45CB0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.155 H 329.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B45CB0
RGBrgb(180, 92, 176)
HSLhsl(303, 37%, 53%)
HSVhsv(303, 49%, 71%)
CMYKcmyk(0%, 48.9%, 2.2%, 29.4%)
CIE-LABlab(52.39, 47.47, -29.29)
CIE-LCHlch(52.39, 55.78, 328.32°)
OKLaboklab(60.91% 0.1332 -0.0801)
OKLCHoklch(60.91% 0.155 329)
XYZxyz(30.4856, 20.4939, 43.4158)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CB0 #5CB460
analogous
#8C5CB4 #B45CB0 #B45C84
triadic
#B45CB0 #B0B45C #5CB0B4
tetradic
#B45CB0 #B48C5C #5CB460 #5C84B4
square
#B45CB0 #B48C5C #5CB460 #5C84B4
split-complementary
#B45CB0 #84B45C #5CB48C
monochromatic
#662F64 #90428D #B45CB0 #C786C4 #DBB0D9

Accessibility & contrast

On white

4.12
#B45CB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B45CB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CB0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CB0#FFFFFF#000000##000000
##B45CB01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B3
Deuteranopia (green-blind)
#7081AD
Tritanopia (blue-blind)
#B9647E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45cb0;
/* rgb */ color: rgb(180, 92, 176);
/* oklch */ color: oklch(60.9% 0.155 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc8dc8',
    500: '#b45cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b45cb0;
$custom-light: #cc8dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cb0",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 302.727,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.15543,
    "h": 329
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#B45CB0
secondary
#A3C9A5
accent
#CD605B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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