#B045BC#B045BC

#B045BC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.1% C 0.199 H 323.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B045BC
RGBrgb(176, 69, 188)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 63%, 74%)
CMYKcmyk(6.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(48.41, 59.40, -42.57)
CIE-LCHlch(48.41, 73.08, 324.38°)
OKLaboklab(58.07% 0.1601 -0.1183)
OKLCHoklch(58.07% 0.199 323.5)
XYZxyz(29.1089, 17.1188, 49.3382)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045BC #51BC45
analogous
#7545BC #B045BC #BC458C
triadic
#B045BC #BCB045 #45BCB0
tetradic
#B045BC #BC7545 #51BC45 #458CBC
square
#B045BC #BC7545 #51BC45 #458CBC
split-complementary
#B045BC #8CBC45 #45BC75
monochromatic
#5D2463 #873490 #B045BC #C372CC #D69FDC

Accessibility & contrast

On white

4.75
#B045BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B045BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045BC#FFFFFF#000000##FFFFFF
##B045BC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#B3577A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b045bc;
/* rgb */ color: rgb(176, 69, 188);
/* oklch */ color: oklch(58.1% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb80d1',
    500: '#b045bc',
    950: '#000000',
  },
}
SCSS
$custom: #b045bc;
$custom-light: #cb80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b045bc",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 293.95,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.19906,
    "h": 323.5
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#B045BC
secondary
#99C994
accent
#D7515F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B045BC

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

Preview Lab → · Contrast checker → · Palette generator →

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