#B45CBB#B45CBB

#B45CBB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.4% C 0.166 H 324.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B45CBB
RGBrgb(180, 92, 187)
HSLhsl(296, 41%, 55%)
HSVhsv(296, 51%, 73%)
CMYKcmyk(3.7%, 50.8%, 0%, 26.7%)
CIE-LABlab(52.89, 49.50, -34.88)
CIE-LCHlch(52.89, 60.56, 324.83°)
OKLaboklab(61.45% 0.135 -0.0961)
OKLCHoklch(61.45% 0.166 324.5)
XYZxyz(31.6184, 20.9470, 49.3818)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CBB #63BB5C
analogous
#855CBB #B45CBB #BB5C93
triadic
#B45CBB #BBB45C #5CBBB4
tetradic
#B45CBB #BB855C #63BB5C #5C93BB
square
#B45CBB #BB855C #63BB5C #5C93BB
split-complementary
#B45CBB #93BB5C #5CBB85
monochromatic
#6A2E6F #93409A #B45CBB #C887CD #DCB2DF

Accessibility & contrast

On white

4.05
#B45CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B45CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CBB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CBB#FFFFFF#000000##000000
##B45CBB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#B76883
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45cbb;
/* rgb */ color: rgb(180, 92, 187);
/* oklch */ color: oklch(61.4% 0.166 324.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ed0',
    500: '#b45cbb',
    950: '#000000',
  },
}
SCSS
$custom: #b45cbb;
$custom-light: #cd8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cbb",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 295.579,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61446,
    "c": 0.1657,
    "h": 324.5
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#B45CBB
secondary
#A8CDA5
accent
#D15760
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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