#B348AC#B348AC

#B348AC is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.183 H 330.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B348AC
RGBrgb(179, 72, 172)
HSLhsl(304, 43%, 49%)
HSVhsv(304, 60%, 70%)
CMYKcmyk(0%, 59.8%, 3.9%, 29.8%)
CIE-LABlab(48.51, 56.03, -33.02)
CIE-LCHlch(48.51, 65.04, 329.49°)
OKLaboklab(57.97% 0.1587 -0.0906)
OKLCHoklch(57.97% 0.183 330.3)
XYZxyz(28.3540, 17.1989, 40.8480)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348AC #48B34F
analogous
#8548B3 #B348AC #B34877
triadic
#B348AC #ACB348 #48ACB3
tetradic
#B348AC #B38548 #48B34F #4877B3
square
#B348AC #B38548 #48B34F #4877B3
split-complementary
#B348AC #77B348 #48B385
monochromatic
#5C2558 #873682 #B348AC #C672C1 #D89ED4

Accessibility & contrast

On white

4.73
#B348AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B348AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348AC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348AC#FFFFFF#000000##FFFFFF
##B348AC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#B95373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b348ac;
/* rgb */ color: rgb(179, 72, 172);
/* oklch */ color: oklch(58.0% 0.183 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd81c5',
    500: '#b348ac',
    950: '#000000',
  },
}
SCSS
$custom: #b348ac;
$custom-light: #cd81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b348ac",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 303.925,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.18273,
    "h": 330.3
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#B348AC
secondary
#92C496
accent
#D25E55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B348AC

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

Preview Lab → · Contrast checker → · Palette generator →

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