#B045BB#B045BB

#B045BB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.198 H 323.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B045BB
RGBrgb(176, 69, 187)
HSLhsl(294, 46%, 50%)
HSVhsv(294, 63%, 73%)
CMYKcmyk(5.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(48.36, 59.22, -42.07)
CIE-LCHlch(48.36, 72.64, 324.61°)
OKLaboklab(58.01% 0.1601 -0.1168)
OKLCHoklch(58.01% 0.198 323.9)
XYZxyz(29.0015, 17.0758, 48.7725)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045BB #50BB45
analogous
#7545BB #B045BB #BB458B
triadic
#B045BB #BBB045 #45BBB0
tetradic
#B045BB #BB7545 #50BB45 #458BBB
square
#B045BB #BB7545 #50BB45 #458BBB
split-complementary
#B045BB #8BBB45 #45BB75
monochromatic
#5C2462 #86348F #B045BB #C372CB #D69FDC

Accessibility & contrast

On white

4.76
#B045BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B045BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045BB#FFFFFF#000000##FFFFFF
##B045BB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#B3577A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b045bb;
/* rgb */ color: rgb(176, 69, 187);
/* oklch */ color: oklch(58.0% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb80d0',
    500: '#b045bb',
    950: '#000000',
  },
}
SCSS
$custom: #b045bb;
$custom-light: #cb80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b045bb",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 294.407,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.19818,
    "h": 323.9
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#B045BB
secondary
#98C894
accent
#D6525E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B045BB

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

Preview Lab → · Contrast checker → · Palette generator →

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