#B048B8#B048B8

#B048B8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.191 H 324.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B048B8
RGBrgb(176, 72, 184)
HSLhsl(296, 44%, 50%)
HSVhsv(296, 61%, 72%)
CMYKcmyk(4.3%, 60.9%, 0%, 27.8%)
CIE-LABlab(48.67, 57.37, -39.82)
CIE-LCHlch(48.67, 69.83, 325.23°)
OKLaboklab(58.19% 0.1563 -0.1103)
OKLCHoklch(58.19% 0.191 324.8)
XYZxyz(28.8729, 17.3272, 47.1618)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B8 #50B848
analogous
#7848B8 #B048B8 #B84888
triadic
#B048B8 #B8B048 #48B8B0
tetradic
#B048B8 #B87848 #50B848 #4888B8
square
#B048B8 #B87848 #50B848 #4888B8
split-complementary
#B048B8 #88B848 #48B878
monochromatic
#5C2560 #86368C #B048B8 #C374C9 #D6A0DA

Accessibility & contrast

On white

4.70
#B048B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B048B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B8#FFFFFF#000000##FFFFFF
##B048B81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBB
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#B45879
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b048b8;
/* rgb */ color: rgb(176, 72, 184);
/* oklch */ color: oklch(58.2% 0.191 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca81ce',
    500: '#b048b8',
    950: '#000000',
  },
}
SCSS
$custom: #b048b8;
$custom-light: #ca81ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b8",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 295.714,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.19135,
    "h": 324.8
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#B048B8
secondary
#98C795
accent
#D4545D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B8

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

Preview Lab → · Contrast checker → · Palette generator →

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