#B148A5#B148A5

#B148A5 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.176 H 332.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B148A5
RGBrgb(177, 72, 165)
HSLhsl(307, 42%, 49%)
HSVhsv(307, 59%, 69%)
CMYKcmyk(0%, 59.3%, 6.8%, 30.6%)
CIE-LABlab(47.88, 54.31, -29.90)
CIE-LCHlch(47.88, 62.00, 331.16°)
OKLaboklab(57.34% 0.1556 -0.0817)
OKLCHoklch(57.34% 0.176 332.3)
XYZxyz(27.2403, 16.7004, 37.3788)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148A5 #48B154
analogous
#8948B1 #B148A5 #B14871
triadic
#B148A5 #A5B148 #48A5B1
tetradic
#B148A5 #B18948 #48B154 #4871B1
square
#B148A5 #B18948 #48B154 #4871B1
split-complementary
#B148A5 #71B148 #48B189
monochromatic
#5A2554 #85367C #B148A5 #C571BC #D79CD0

Accessibility & contrast

On white

4.84
#B148A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B148A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B148A5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148A5#FFFFFF#000000##FFFFFF
##B148A51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#B85170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b148a5;
/* rgb */ color: rgb(177, 72, 165);
/* oklch */ color: oklch(57.3% 0.176 332.3);
Tailwind
colors: {
  custom: {
    50: '#cb81c0',
    500: '#b148a5',
    950: '#000000',
  },
}
SCSS
$custom: #b148a5;
$custom-light: #cb81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b148a5",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 306.857,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.17571,
    "h": 332.3
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#B148A5
secondary
#91C397
accent
#D26456
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B148A5

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

Preview Lab → · Contrast checker → · Palette generator →

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