#B148BA#B148BA

#B148BA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.194 H 324.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B148BA
RGBrgb(177, 72, 186)
HSLhsl(295, 45%, 51%)
HSVhsv(295, 61%, 73%)
CMYKcmyk(4.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(48.92, 57.98, -40.58)
CIE-LCHlch(48.92, 70.77, 325.01°)
OKLaboklab(58.44% 0.1576 -0.1125)
OKLCHoklch(58.44% 0.194 324.5)
XYZxyz(29.3110, 17.5287, 48.2843)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148BA #51BA48
analogous
#7848BA #B148BA #BA488A
triadic
#B148BA #BAB148 #48BAB1
tetradic
#B148BA #BA7848 #51BA48 #488ABA
square
#B148BA #BA7848 #51BA48 #488ABA
split-complementary
#B148BA #8ABA48 #48BA78
monochromatic
#5E2562 #88368F #B148BA #C474CB #D7A1DC

Accessibility & contrast

On white

4.66
#B148BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B148BA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148BA#FFFFFF#000000##FFFFFF
##B148BA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#B5587A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b148ba;
/* rgb */ color: rgb(177, 72, 186);
/* oklch */ color: oklch(58.4% 0.194 324.5);
Tailwind
colors: {
  custom: {
    50: '#cb82cf',
    500: '#b148ba',
    950: '#000000',
  },
}
SCSS
$custom: #b148ba;
$custom-light: #cb82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b148ba",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 295.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.19364,
    "h": 324.5
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#B148BA
secondary
#9AC896
accent
#D5535D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B148BA

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

Preview Lab → · Contrast checker → · Palette generator →

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