#B945BD#B945BD

#B945BD is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.204 H 326.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B945BD
RGBrgb(185, 69, 189)
HSLhsl(298, 48%, 51%)
HSVhsv(298, 63%, 74%)
CMYKcmyk(2.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(49.79, 61.76, -40.87)
CIE-LCHlch(49.79, 74.06, 326.51°)
OKLaboklab(59.36% 0.1704 -0.1131)
OKLCHoklch(59.36% 0.205 326.4)
XYZxyz(31.3204, 18.2466, 50.0065)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945BD #49BD45
analogous
#7D45BD #B945BD #BD4585
triadic
#B945BD #BDB945 #45BDB9
tetradic
#B945BD #BD7D45 #49BD45 #4585BD
square
#B945BD #BD7D45 #49BD45 #4585BD
split-complementary
#B945BD #85BD45 #45BD7D
monochromatic
#622464 #8E3491 #B945BD #CA72CD #DB9FDD

Accessibility & contrast

On white

4.52
#B945BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B945BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945BD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945BD#FFFFFF#000000##000000
##B945BD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#BE567B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b945bd;
/* rgb */ color: rgb(185, 69, 189);
/* oklch */ color: oklch(59.4% 0.204 326.4);
Tailwind
colors: {
  custom: {
    50: '#d181d1',
    500: '#b945bd',
    950: '#000000',
  },
}
SCSS
$custom: #b945bd;
$custom-light: #d181d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b945bd",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 298,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.2045,
    "h": 326.4
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#B945BD
secondary
#96CA94
accent
#D75155
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B945BD

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

Preview Lab → · Contrast checker → · Palette generator →

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