#B148B2#B148B2

#B148B2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.187 H 327.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B148B2
RGBrgb(177, 72, 178)
HSLhsl(299, 42%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(0.6%, 59.6%, 0%, 30.2%)
CIE-LABlab(48.51, 56.55, -36.56)
CIE-LCHlch(48.51, 67.34, 327.11°)
OKLaboklab(58% 0.157 -0.1009)
OKLCHoklch(58% 0.187 327.3)
XYZxyz(28.4843, 17.1980, 43.9301)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148B2 #49B248
analogous
#7C48B2 #B148B2 #B2487E
triadic
#B148B2 #B2B148 #48B2B1
tetradic
#B148B2 #B27C48 #49B248 #487EB2
square
#B148B2 #B27C48 #49B248 #487EB2
split-complementary
#B148B2 #7EB248 #48B27C
monochromatic
#5A255B #863686 #B148B2 #C571C6 #D79DD7

Accessibility & contrast

On white

4.73
#B148B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B148B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B148B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148B2#FFFFFF#000000##FFFFFF
##B148B21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#B65576
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b148b2;
/* rgb */ color: rgb(177, 72, 178);
/* oklch */ color: oklch(58.0% 0.187 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb81c9',
    500: '#b148b2',
    950: '#000000',
  },
}
SCSS
$custom: #b148b2;
$custom-light: #cb81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b148b2",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 299.434,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.18665,
    "h": 327.3
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#B148B2
secondary
#92C492
accent
#D25657
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B148B2

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

Preview Lab → · Contrast checker → · Palette generator →

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