#B048A1#B048A1

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

Color values

HEX#B048A1
RGBrgb(176, 72, 161)
HSLhsl(309, 42%, 49%)
HSVhsv(309, 59%, 69%)
CMYKcmyk(0%, 59.1%, 8.5%, 31%)
CIE-LABlab(47.55, 53.37, -28.07)
CIE-LCHlch(47.55, 60.30, 332.26°)
OKLaboklab(57.01% 0.1539 -0.0765)
OKLCHoklch(57.01% 0.172 333.6)
XYZxyz(26.6549, 16.4400, 35.4806)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A1 #48B057
analogous
#8B48B0 #B048A1 #B0486D
triadic
#B048A1 #A1B048 #48A1B0
tetradic
#B048A1 #B08B48 #48B057 #486DB0
square
#B048A1 #B08B48 #48B057 #486DB0
split-complementary
#B048A1 #6DB048 #48B08B
monochromatic
#592452 #853679 #B048A1 #C570B9 #D69CCE

Accessibility & contrast

On white

4.90
#B048A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B048A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048A1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A1#FFFFFF#000000##FFFFFF
##B048A11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#B74F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a1;
/* rgb */ color: rgb(176, 72, 161);
/* oklch */ color: oklch(57.0% 0.172 333.6);
Tailwind
colors: {
  custom: {
    50: '#ca81bd',
    500: '#b048a1',
    950: '#000000',
  },
}
SCSS
$custom: #b048a1;
$custom-light: #ca81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a1",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 308.654,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.17183,
    "h": 333.6
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#B048A1
secondary
#91C398
accent
#D26856
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A1

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

Preview Lab → · Contrast checker → · Palette generator →

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