#B045BD#B045BD

#B045BD is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.200 H 323.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B045BD
RGBrgb(176, 69, 189)
HSLhsl(294, 48%, 51%)
HSVhsv(294, 63%, 74%)
CMYKcmyk(6.9%, 63.5%, 0%, 25.9%)
CIE-LABlab(48.46, 59.58, -43.06)
CIE-LCHlch(48.46, 73.52, 324.14°)
OKLaboklab(58.13% 0.1601 -0.1197)
OKLCHoklch(58.13% 0.2 323.2)
XYZxyz(29.2171, 17.1621, 49.9079)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045BD #52BD45
analogous
#7445BD #B045BD #BD458E
triadic
#B045BD #BDB045 #45BDB0
tetradic
#B045BD #BD7445 #52BD45 #458EBD
square
#B045BD #BD7445 #52BD45 #458EBD
split-complementary
#B045BD #8EBD45 #45BD74
monochromatic
#5D2464 #873491 #B045BD #C372CD #D69FDD

Accessibility & contrast

On white

4.74
#B045BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B045BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045BD#FFFFFF#000000##FFFFFF
##B045BD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC1
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#B3587B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b045bd;
/* rgb */ color: rgb(176, 69, 189);
/* oklch */ color: oklch(58.1% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#cb80d1',
    500: '#b045bd',
    950: '#000000',
  },
}
SCSS
$custom: #b045bd;
$custom-light: #cb80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b045bd",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 293.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.19995,
    "h": 323.2
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#B045BD
secondary
#9ACA94
accent
#D7515F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B045BD

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

Preview Lab → · Contrast checker → · Palette generator →

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