#B148B9#B148B9

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

Color values

HEX#B148B9
RGBrgb(177, 72, 185)
HSLhsl(296, 45%, 50%)
HSVhsv(296, 61%, 73%)
CMYKcmyk(4.3%, 61.1%, 0%, 27.5%)
CIE-LABlab(48.87, 57.80, -40.09)
CIE-LCHlch(48.87, 70.34, 325.26°)
OKLaboklab(58.38% 0.1575 -0.1111)
OKLCHoklch(58.38% 0.193 324.8)
XYZxyz(29.2051, 17.4863, 47.7264)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148B9 #50B948
analogous
#7848B9 #B148B9 #B94889
triadic
#B148B9 #B9B148 #48B9B1
tetradic
#B148B9 #B97848 #50B948 #4889B9
square
#B148B9 #B97848 #50B948 #4889B9
split-complementary
#B148B9 #89B948 #48B978
monochromatic
#5D2561 #87368E #B148B9 #C474CA #D7A1DB

Accessibility & contrast

On white

4.67
#B148B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B148B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B148B9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148B9#FFFFFF#000000##FFFFFF
##B148B91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#5C79B6
Tritanopia (blue-blind)
#B5587A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b148b9;
/* rgb */ color: rgb(177, 72, 185);
/* oklch */ color: oklch(58.4% 0.193 324.8);
Tailwind
colors: {
  custom: {
    50: '#cb82ce',
    500: '#b148b9',
    950: '#000000',
  },
}
SCSS
$custom: #b148b9;
$custom-light: #cb82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b148b9",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 295.752,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.19276,
    "h": 324.8
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#B148B9
secondary
#99C895
accent
#D4535D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B148B9

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

Preview Lab → · Contrast checker → · Palette generator →

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