#B348A8#B348A8

#B348A8 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.179 H 331.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B348A8
RGBrgb(179, 72, 168)
HSLhsl(306, 43%, 49%)
HSVhsv(306, 60%, 70%)
CMYKcmyk(0%, 59.8%, 6.1%, 29.8%)
CIE-LABlab(48.32, 55.35, -30.96)
CIE-LCHlch(48.32, 63.43, 330.78°)
OKLaboklab(57.77% 0.1582 -0.0847)
OKLCHoklch(57.77% 0.179 331.8)
XYZxyz(27.9756, 17.0476, 38.8552)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348A8 #48B353
analogous
#8948B3 #B348A8 #B34873
triadic
#B348A8 #A8B348 #48A8B3
tetradic
#B348A8 #B38948 #48B353 #4873B3
square
#B348A8 #B38948 #48B353 #4873B3
split-complementary
#B348A8 #73B348 #48B389
monochromatic
#5C2556 #87367F #B348A8 #C672BE #D89ED2

Accessibility & contrast

On white

4.76
#B348A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B348A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348A8#FFFFFF#000000##FFFFFF
##B348A81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#BA5171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b348a8;
/* rgb */ color: rgb(179, 72, 168);
/* oklch */ color: oklch(57.8% 0.179 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc81c2',
    500: '#b348a8',
    950: '#000000',
  },
}
SCSS
$custom: #b348a8;
$custom-light: #cc81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b348a8",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 306.168,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.17944,
    "h": 331.8
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#B348A8
secondary
#92C498
accent
#D26255
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B348A8

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

Preview Lab → · Contrast checker → · Palette generator →

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