#B048AB#B048AB

#B048AB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.180 H 329.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B048AB
RGBrgb(176, 72, 171)
HSLhsl(303, 42%, 49%)
HSVhsv(303, 59%, 69%)
CMYKcmyk(0%, 59.1%, 2.8%, 31%)
CIE-LABlab(48.02, 55.06, -33.24)
CIE-LCHlch(48.02, 64.31, 328.88°)
OKLaboklab(57.5% 0.1552 -0.0913)
OKLCHoklch(57.5% 0.18 329.5)
XYZxyz(27.5723, 16.8069, 40.3120)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048AB #48B04D
analogous
#8148B0 #B048AB #B04877
triadic
#B048AB #ABB048 #48ABB0
tetradic
#B048AB #B08148 #48B04D #4877B0
square
#B048AB #B08148 #48B04D #4877B0
split-complementary
#B048AB #77B048 #48B081
monochromatic
#592457 #853681 #B048AB #C570C1 #D69CD4

Accessibility & contrast

On white

4.82
#B048AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B048AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048AB#FFFFFF#000000##FFFFFF
##B048AB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#B65373
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b048ab;
/* rgb */ color: rgb(176, 72, 171);
/* oklch */ color: oklch(57.5% 0.180 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca81c4',
    500: '#b048ab',
    950: '#000000',
  },
}
SCSS
$custom: #b048ab;
$custom-light: #ca81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b048ab",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 302.885,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.18008,
    "h": 329.5
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#B048AB
secondary
#91C393
accent
#D25C56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048AB

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

Preview Lab → · Contrast checker → · Palette generator →

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