#B945BB#B945BB

#B945BB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.203 H 327.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B945BB
RGBrgb(185, 69, 187)
HSLhsl(299, 46%, 50%)
HSVhsv(299, 63%, 73%)
CMYKcmyk(1.1%, 63.1%, 0%, 26.7%)
CIE-LABlab(49.69, 61.41, -39.87)
CIE-LCHlch(49.69, 73.22, 327.01°)
OKLaboklab(59.25% 0.1703 -0.1102)
OKLCHoklch(59.25% 0.203 327.1)
XYZxyz(31.1048, 18.1604, 48.8711)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945BB #47BB45
analogous
#7E45BB #B945BB #BB4582
triadic
#B945BB #BBB945 #45BBB9
tetradic
#B945BB #BB7E45 #47BB45 #4582BB
square
#B945BB #BB7E45 #47BB45 #4582BB
split-complementary
#B945BB #82BB45 #45BB7E
monochromatic
#612462 #8D348F #B945BB #CA72CB #DB9FDC

Accessibility & contrast

On white

4.53
#B945BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B945BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945BB#FFFFFF#000000##000000
##B945BB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#607BB8
Tritanopia (blue-blind)
#BE557A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b945bb;
/* rgb */ color: rgb(185, 69, 187);
/* oklch */ color: oklch(59.2% 0.203 327.1);
Tailwind
colors: {
  custom: {
    50: '#d181d0',
    500: '#b945bb',
    950: '#000000',
  },
}
SCSS
$custom: #b945bb;
$custom-light: #d181d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b945bb",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 298.983,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.20283,
    "h": 327.1
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

primary
#B945BB
secondary
#94C894
accent
#D65254
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B945BB

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

Preview Lab → · Contrast checker → · Palette generator →

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