#B048A6#B048A6

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

Color values

HEX#B048A6
RGBrgb(176, 72, 166)
HSLhsl(306, 42%, 49%)
HSVhsv(306, 59%, 69%)
CMYKcmyk(0%, 59.1%, 5.7%, 31%)
CIE-LABlab(47.78, 54.21, -30.66)
CIE-LCHlch(47.78, 62.28, 330.50°)
OKLaboklab(57.25% 0.1546 -0.0839)
OKLCHoklch(57.25% 0.176 331.5)
XYZxyz(27.1047, 16.6199, 37.8494)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A6 #48B052
analogous
#8648B0 #B048A6 #B04872
triadic
#B048A6 #A6B048 #48A6B0
tetradic
#B048A6 #B08648 #48B052 #4872B0
square
#B048A6 #B08648 #48B052 #4872B0
split-complementary
#B048A6 #72B048 #48B086
monochromatic
#592454 #85367D #B048A6 #C570BD #D69CD1

Accessibility & contrast

On white

4.86
#B048A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B048A6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A6#FFFFFF#000000##FFFFFF
##B048A61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#6477A3
Tritanopia (blue-blind)
#B75170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a6;
/* rgb */ color: rgb(176, 72, 166);
/* oklch */ color: oklch(57.2% 0.176 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca81c0',
    500: '#b048a6',
    950: '#000000',
  },
}
SCSS
$custom: #b048a6;
$custom-light: #ca81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a6",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 305.769,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.1759,
    "h": 331.5
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B048A6

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

Preview Lab → · Contrast checker → · Palette generator →

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