#B145BD#B145BD

#B145BD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.200 H 323.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B145BD
RGBrgb(177, 69, 189)
HSLhsl(294, 48%, 51%)
HSVhsv(294, 63%, 74%)
CMYKcmyk(6.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(48.61, 59.83, -42.82)
CIE-LCHlch(48.61, 73.57, 324.41°)
OKLaboklab(58.26% 0.1613 -0.119)
OKLCHoklch(58.26% 0.2 323.6)
XYZxyz(29.4440, 17.2791, 49.9186)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145BD #51BD45
analogous
#7545BD #B145BD #BD458D
triadic
#B145BD #BDB145 #45BDB1
tetradic
#B145BD #BD7545 #51BD45 #458DBD
square
#B145BD #BD7545 #51BD45 #458DBD
split-complementary
#B145BD #8DBD45 #45BD75
monochromatic
#5E2464 #883491 #B145BD #C472CD #D79FDD

Accessibility & contrast

On white

4.71
#B145BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B145BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145BD#FFFFFF#000000##FFFFFF
##B145BD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC1
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#B4577B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b145bd;
/* rgb */ color: rgb(177, 69, 189);
/* oklch */ color: oklch(58.3% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb80d1',
    500: '#b145bd',
    950: '#000000',
  },
}
SCSS
$custom: #b145bd;
$custom-light: #cb80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b145bd",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 294,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.20044,
    "h": 323.6
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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