#B045BF#B045BF

#B045BF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.202 H 322.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B045BF
RGBrgb(176, 69, 191)
HSLhsl(293, 49%, 51%)
HSVhsv(293, 64%, 75%)
CMYKcmyk(7.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(48.57, 59.95, -44.05)
CIE-LCHlch(48.57, 74.40, 323.69°)
OKLaboklab(58.24% 0.1602 -0.1226)
OKLCHoklch(58.24% 0.202 322.6)
XYZxyz(29.4356, 17.2495, 51.0591)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045BF #54BF45
analogous
#7345BF #B045BF #BF4591
triadic
#B045BF #BFB045 #45BFB0
tetradic
#B045BF #BF7345 #54BF45 #4591BF
square
#B045BF #BF7345 #54BF45 #4591BF
split-complementary
#B045BF #91BF45 #45BF73
monochromatic
#5E2366 #883394 #B045BF #C373CF #D7A0DE

Accessibility & contrast

On white

4.72
#B045BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B045BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045BF#FFFFFF#000000##FFFFFF
##B045BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#5578BC
Tritanopia (blue-blind)
#B2587C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b045bf;
/* rgb */ color: rgb(176, 69, 191);
/* oklch */ color: oklch(58.2% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#cb80d3',
    500: '#b045bf',
    950: '#000000',
  },
}
SCSS
$custom: #b045bf;
$custom-light: #cb80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b045bf",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 292.623,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.20172,
    "h": 322.6
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#B045BF
secondary
#9CCB95
accent
#D84F60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B045BF

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

Preview Lab → · Contrast checker → · Palette generator →

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