#B148A7#B148A7

#B148A7 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.177 H 331.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B148A7
RGBrgb(177, 72, 167)
HSLhsl(306, 42%, 49%)
HSVhsv(306, 59%, 69%)
CMYKcmyk(0%, 59.3%, 5.6%, 30.6%)
CIE-LABlab(47.97, 54.65, -30.94)
CIE-LCHlch(47.97, 62.80, 330.48°)
OKLaboklab(57.44% 0.1558 -0.0847)
OKLCHoklch(57.44% 0.177 331.5)
XYZxyz(27.4238, 16.7738, 38.3450)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148A7 #48B152
analogous
#8748B1 #B148A7 #B14873
triadic
#B148A7 #A7B148 #48A7B1
tetradic
#B148A7 #B18748 #48B152 #4873B1
square
#B148A7 #B18748 #48B152 #4873B1
split-complementary
#B148A7 #73B148 #48B187
monochromatic
#5A2555 #85367E #B148A7 #C571BD #D79CD1

Accessibility & contrast

On white

4.82
#B148A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B148A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B148A7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148A7#FFFFFF#000000##FFFFFF
##B148A71.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#6577A4
Tritanopia (blue-blind)
#B85171
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b148a7;
/* rgb */ color: rgb(177, 72, 167);
/* oklch */ color: oklch(57.4% 0.177 331.5);
Tailwind
colors: {
  custom: {
    50: '#cb81c1',
    500: '#b148a7',
    950: '#000000',
  },
}
SCSS
$custom: #b148a7;
$custom-light: #cb81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b148a7",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 305.714,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.17735,
    "h": 331.5
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#B148A7
secondary
#91C396
accent
#D26256
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B148A7

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

Preview Lab → · Contrast checker → · Palette generator →

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