#B348C4#B348C4

#B348C4 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.204 H 321.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B348C4
RGBrgb(179, 72, 196)
HSLhsl(292, 51%, 53%)
HSVhsv(292, 63%, 77%)
CMYKcmyk(8.7%, 63.3%, 0%, 23.1%)
CIE-LABlab(49.74, 60.31, -45.06)
CIE-LCHlch(49.74, 75.28, 323.24°)
OKLaboklab(59.27% 0.1603 -0.1255)
OKLCHoklch(59.27% 0.204 321.9)
XYZxyz(30.8705, 18.2056, 54.1018)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348C4 #59C448
analogous
#7548C4 #B348C4 #C44897
triadic
#B348C4 #C4B348 #48C4B3
tetradic
#B348C4 #C47548 #59C448 #4897C4
square
#B348C4 #C47548 #59C448 #4897C4
split-complementary
#B348C4 #97C448 #48C475
monochromatic
#64236E #8E329C #B348C4 #C676D3 #D9A5E2

Accessibility & contrast

On white

4.53
#B348C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B348C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348C4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348C4#FFFFFF#000000##000000
##B348C41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#B55C80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b348c4;
/* rgb */ color: rgb(179, 72, 196);
/* oklch */ color: oklch(59.3% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd82d6',
    500: '#b348c4',
    950: '#000000',
  },
}
SCSS
$custom: #b348c4;
$custom-light: #cd82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b348c4",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 291.774,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.20355,
    "h": 321.9
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#B348C4
secondary
#A0CF99
accent
#DB4D61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B348C4

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

Preview Lab → · Contrast checker → · Palette generator →

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