#B048A4#B048A4

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

Color values

HEX#B048A4
RGBrgb(176, 72, 164)
HSLhsl(307, 42%, 49%)
HSVhsv(307, 59%, 69%)
CMYKcmyk(0%, 59.1%, 6.8%, 31%)
CIE-LABlab(47.68, 53.87, -29.63)
CIE-LCHlch(47.68, 61.48, 331.19°)
OKLaboklab(57.15% 0.1543 -0.081)
OKLCHoklch(57.15% 0.174 332.3)
XYZxyz(26.9227, 16.5471, 36.8907)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A4 #48B054
analogous
#8848B0 #B048A4 #B04870
triadic
#B048A4 #A4B048 #48A4B0
tetradic
#B048A4 #B08848 #48B054 #4870B0
square
#B048A4 #B08848 #48B054 #4870B0
split-complementary
#B048A4 #70B048 #48B088
monochromatic
#592453 #85367C #B048A4 #C570BB #D69CD0

Accessibility & contrast

On white

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

On black

4.31
#B048A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B048A4#FFFFFF#000000##FFFFFF
##B048A41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#B7506F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a4;
/* rgb */ color: rgb(176, 72, 164);
/* oklch */ color: oklch(57.2% 0.174 332.3);
Tailwind
colors: {
  custom: {
    50: '#ca81bf',
    500: '#b048a4',
    950: '#000000',
  },
}
SCSS
$custom: #b048a4;
$custom-light: #ca81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a4",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 306.923,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.17425,
    "h": 332.3
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#B048A4
secondary
#91C397
accent
#D26456
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A4

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

Preview Lab → · Contrast checker → · Palette generator →

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