#B148BF#B148BF

#B148BF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.7% C 0.198 H 322.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B148BF
RGBrgb(177, 72, 191)
HSLhsl(293, 48%, 52%)
HSVhsv(293, 62%, 75%)
CMYKcmyk(7.3%, 62.3%, 0%, 25.1%)
CIE-LABlab(49.19, 58.90, -43.07)
CIE-LCHlch(49.19, 72.97, 323.83°)
OKLaboklab(58.71% 0.1578 -0.1197)
OKLCHoklch(58.71% 0.198 322.8)
XYZxyz(29.8519, 17.7450, 51.1329)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148BF #56BF48
analogous
#7648BF #B148BF #BF4892
triadic
#B148BF #BFB148 #48BFB1
tetradic
#B148BF #BF7648 #56BF48 #4892BF
square
#B148BF #BF7648 #56BF48 #4892BF
split-complementary
#B148BF #92BF48 #48BF76
monochromatic
#602468 #8A3496 #B148BF #C475CF #D8A3DF

Accessibility & contrast

On white

4.62
#B148BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B148BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B148BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148BF#FFFFFF#000000##FFFFFF
##B148BF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#B45A7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b148bf;
/* rgb */ color: rgb(177, 72, 191);
/* oklch */ color: oklch(58.7% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb82d3',
    500: '#b148bf',
    950: '#000000',
  },
}
SCSS
$custom: #b148bf;
$custom-light: #cb82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b148bf",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 292.941,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.1981,
    "h": 322.8
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#B148BF
secondary
#9DCC97
accent
#D85060
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B148BF

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

Preview Lab → · Contrast checker → · Palette generator →

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