#B048A0#B048A0

#B048A0 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.171 H 334.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B048A0
RGBrgb(176, 72, 160)
HSLhsl(309, 42%, 49%)
HSVhsv(309, 59%, 69%)
CMYKcmyk(0%, 59.1%, 9.1%, 31%)
CIE-LABlab(47.50, 53.21, -27.54)
CIE-LCHlch(47.50, 59.91, 332.63°)
OKLaboklab(56.96% 0.1537 -0.075)
OKLCHoklch(56.96% 0.171 334)
XYZxyz(26.5671, 16.4049, 35.0181)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A0 #48B058
analogous
#8C48B0 #B048A0 #B0486C
triadic
#B048A0 #A0B048 #48A0B0
tetradic
#B048A0 #B08C48 #48B058 #486CB0
square
#B048A0 #B08C48 #48B058 #486CB0
split-complementary
#B048A0 #6CB048 #48B08C
monochromatic
#592451 #853679 #B048A0 #C570B8 #D69CCD

Accessibility & contrast

On white

4.91
#B048A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B048A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048A0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A0#FFFFFF#000000##FFFFFF
##B048A01.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4767A3
Deuteranopia (green-blind)
#67769D
Tritanopia (blue-blind)
#B84F6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a0;
/* rgb */ color: rgb(176, 72, 160);
/* oklch */ color: oklch(57.0% 0.171 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca81bc',
    500: '#b048a0',
    950: '#000000',
  },
}
SCSS
$custom: #b048a0;
$custom-light: #ca81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a0",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 309.231,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.17103,
    "h": 334
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#B048A0
secondary
#91C399
accent
#D26956
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A0

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

Preview Lab → · Contrast checker → · Palette generator →

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