#B145BB#B145BB

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

Color values

HEX#B145BB
RGBrgb(177, 69, 187)
HSLhsl(295, 46%, 50%)
HSVhsv(295, 63%, 73%)
CMYKcmyk(5.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(48.50, 59.46, -41.83)
CIE-LCHlch(48.50, 72.70, 324.88°)
OKLaboklab(58.15% 0.1612 -0.1161)
OKLCHoklch(58.15% 0.199 324.2)
XYZxyz(29.2285, 17.1929, 48.7831)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145BB #4FBB45
analogous
#7645BB #B145BB #BB458A
triadic
#B145BB #BBB145 #45BBB1
tetradic
#B145BB #BB7645 #4FBB45 #458ABB
square
#B145BB #BB7645 #4FBB45 #458ABB
split-complementary
#B145BB #8ABB45 #45BB76
monochromatic
#5D2462 #87348F #B145BB #C472CB #D79FDC

Accessibility & contrast

On white

4.73
#B145BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B145BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145BB#FFFFFF#000000##FFFFFF
##B145BB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#B4577A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b145bb;
/* rgb */ color: rgb(177, 69, 187);
/* oklch */ color: oklch(58.1% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#cb80d0',
    500: '#b145bb',
    950: '#000000',
  },
}
SCSS
$custom: #b145bb;
$custom-light: #cb80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b145bb",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 294.915,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.19869,
    "h": 324.2
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#B145BB
secondary
#98C894
accent
#D6525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B145BB

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

Preview Lab → · Contrast checker → · Palette generator →

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