#B148BB#B148BB

#B148BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.195 H 324.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B148BB
RGBrgb(177, 72, 187)
HSLhsl(295, 46%, 51%)
HSVhsv(295, 61%, 73%)
CMYKcmyk(5.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(48.97, 58.16, -41.08)
CIE-LCHlch(48.97, 71.21, 324.76°)
OKLaboklab(58.49% 0.1576 -0.114)
OKLCHoklch(58.49% 0.195 324.1)
XYZxyz(29.4177, 17.5714, 48.8462)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148BB #52BB48
analogous
#7748BB #B148BB #BB488B
triadic
#B148BB #BBB148 #48BBB1
tetradic
#B148BB #BB7748 #52BB48 #488BBB
square
#B148BB #BB7748 #52BB48 #488BBB
split-complementary
#B148BB #8BBB48 #48BB77
monochromatic
#5E2564 #883690 #B148BB #C475CC #D7A1DC

Accessibility & contrast

On white

4.65
#B148BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B148BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B148BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148BB#FFFFFF#000000##FFFFFF
##B148BB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#B4597B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b148bb;
/* rgb */ color: rgb(177, 72, 187);
/* oklch */ color: oklch(58.5% 0.195 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb82d0',
    500: '#b148bb',
    950: '#000000',
  },
}
SCSS
$custom: #b148bb;
$custom-light: #cb82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b148bb",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 294.783,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.19452,
    "h": 324.1
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#B148BB
secondary
#9AC996
accent
#D5525E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B148BB

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

Preview Lab → · Contrast checker → · Palette generator →

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