#B048A5#B048A5

#B048A5 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.175 H 331.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B048A5
RGBrgb(176, 72, 165)
HSLhsl(306, 42%, 49%)
HSVhsv(306, 59%, 69%)
CMYKcmyk(0%, 59.1%, 6.2%, 31%)
CIE-LABlab(47.73, 54.04, -30.15)
CIE-LCHlch(47.73, 61.88, 330.84°)
OKLaboklab(57.2% 0.1544 -0.0824)
OKLCHoklch(57.2% 0.175 331.9)
XYZxyz(27.0133, 16.5834, 37.3681)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A5 #48B053
analogous
#8748B0 #B048A5 #B04871
triadic
#B048A5 #A5B048 #48A5B0
tetradic
#B048A5 #B08748 #48B053 #4871B0
square
#B048A5 #B08748 #48B053 #4871B0
split-complementary
#B048A5 #71B048 #48B087
monochromatic
#592454 #85367C #B048A5 #C570BC #D69CD0

Accessibility & contrast

On white

4.87
#B048A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B048A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048A5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A5#FFFFFF#000000##FFFFFF
##B048A51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#B75170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a5;
/* rgb */ color: rgb(176, 72, 165);
/* oklch */ color: oklch(57.2% 0.175 331.9);
Tailwind
colors: {
  custom: {
    50: '#ca81c0',
    500: '#b048a5',
    950: '#000000',
  },
}
SCSS
$custom: #b048a5;
$custom-light: #ca81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a5",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 306.346,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.572,
    "c": 0.17507,
    "h": 331.9
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#B048A5
secondary
#91C396
accent
#D26356
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A5

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

Preview Lab → · Contrast checker → · Palette generator →

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