#B048A8#B048A8

#B048A8 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.178 H 330.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B048A8
RGBrgb(176, 72, 168)
HSLhsl(305, 42%, 49%)
HSVhsv(305, 59%, 69%)
CMYKcmyk(0%, 59.1%, 4.5%, 31%)
CIE-LABlab(47.87, 54.54, -31.70)
CIE-LCHlch(47.87, 63.09, 329.84°)
OKLaboklab(57.35% 0.1548 -0.0869)
OKLCHoklch(57.35% 0.178 330.7)
XYZxyz(27.2896, 16.6939, 38.8231)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A8 #48B050
analogous
#8448B0 #B048A8 #B04874
triadic
#B048A8 #A8B048 #48A8B0
tetradic
#B048A8 #B08448 #48B050 #4874B0
square
#B048A8 #B08448 #48B050 #4874B0
split-complementary
#B048A8 #74B048 #48B084
monochromatic
#592455 #85367F #B048A8 #C570BE #D69CD2

Accessibility & contrast

On white

4.84
#B048A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B048A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048A8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A8#FFFFFF#000000##FFFFFF
##B048A81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AB
Deuteranopia (green-blind)
#6377A5
Tritanopia (blue-blind)
#B65271
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b048a8;
/* rgb */ color: rgb(176, 72, 168);
/* oklch */ color: oklch(57.3% 0.178 330.7);
Tailwind
colors: {
  custom: {
    50: '#ca81c2',
    500: '#b048a8',
    950: '#000000',
  },
}
SCSS
$custom: #b048a8;
$custom-light: #ca81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a8",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 304.615,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.17756,
    "h": 330.7
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#B048A8
secondary
#91C395
accent
#D26056
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A8

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

Preview Lab → · Contrast checker → · Palette generator →

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