#B145BC#B145BC

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

Color values

HEX#B145BC
RGBrgb(177, 69, 188)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 63%, 74%)
CMYKcmyk(5.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(48.56, 59.64, -42.32)
CIE-LCHlch(48.56, 73.13, 324.64°)
OKLaboklab(58.21% 0.1613 -0.1176)
OKLCHoklch(58.21% 0.2 323.9)
XYZxyz(29.3359, 17.2359, 49.3489)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145BC #50BC45
analogous
#7545BC #B145BC #BC458B
triadic
#B145BC #BCB145 #45BCB1
tetradic
#B145BC #BC7545 #50BC45 #458BBC
square
#B145BC #BC7545 #50BC45 #458BBC
split-complementary
#B145BC #8BBC45 #45BC75
monochromatic
#5D2463 #873490 #B145BC #C472CC #D79FDC

Accessibility & contrast

On white

4.72
#B145BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B145BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145BC#FFFFFF#000000##FFFFFF
##B145BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b145bc;
/* rgb */ color: rgb(177, 69, 188);
/* oklch */ color: oklch(58.2% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb80d1',
    500: '#b145bc',
    950: '#000000',
  },
}
SCSS
$custom: #b145bc;
$custom-light: #cb80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b145bc",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 294.454,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.19956,
    "h": 323.9
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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