#B148A3#B148A3

#B148A3 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.174 H 333.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B148A3
RGBrgb(177, 72, 163)
HSLhsl(308, 42%, 49%)
HSVhsv(308, 59%, 69%)
CMYKcmyk(0%, 59.3%, 7.9%, 30.6%)
CIE-LABlab(47.79, 53.98, -28.86)
CIE-LCHlch(47.79, 61.21, 331.87°)
OKLaboklab(57.24% 0.1553 -0.0788)
OKLCHoklch(57.24% 0.174 333.1)
XYZxyz(27.0597, 16.6282, 36.4276)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148A3 #48B156
analogous
#8B48B1 #B148A3 #B1486F
triadic
#B148A3 #A3B148 #48A3B1
tetradic
#B148A3 #B18B48 #48B156 #486FB1
square
#B148A3 #B18B48 #48B156 #486FB1
split-complementary
#B148A3 #6FB148 #48B18B
monochromatic
#5A2553 #85367B #B148A3 #C571BA #D79CCF

Accessibility & contrast

On white

4.86
#B148A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B148A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B148A3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148A3#FFFFFF#000000##FFFFFF
##B148A31.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#B8506F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b148a3;
/* rgb */ color: rgb(177, 72, 163);
/* oklch */ color: oklch(57.2% 0.174 333.1);
Tailwind
colors: {
  custom: {
    50: '#cb81be',
    500: '#b148a3',
    950: '#000000',
  },
}
SCSS
$custom: #b148a3;
$custom-light: #cb81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b148a3",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 308,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.17409,
    "h": 333.1
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#B148A3
secondary
#91C398
accent
#D26656
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B148A3

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

Preview Lab → · Contrast checker → · Palette generator →

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