#B348B7#B348B7

#B348B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.192 H 326.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B348B7
RGBrgb(179, 72, 183)
HSLhsl(298, 44%, 50%)
HSVhsv(298, 61%, 72%)
CMYKcmyk(2.2%, 60.7%, 0%, 28.2%)
CIE-LABlab(49.06, 57.94, -38.60)
CIE-LCHlch(49.06, 69.63, 326.33°)
OKLaboklab(58.54% 0.1597 -0.1067)
OKLCHoklch(58.54% 0.192 326.2)
XYZxyz(29.4544, 17.6391, 46.6438)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348B7 #4CB748
analogous
#7C48B7 #B348B7 #B74883
triadic
#B348B7 #B7B348 #48B7B3
tetradic
#B348B7 #B77C48 #4CB748 #4883B7
square
#B348B7 #B77C48 #4CB748 #4883B7
split-complementary
#B348B7 #83B748 #48B77C
monochromatic
#5D255F #88378B #B348B7 #C574C8 #D7A0DA

Accessibility & contrast

On white

4.64
#B348B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B348B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B348B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348B7#FFFFFF#000000##FFFFFF
##B348B71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#B75779
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b348b7;
/* rgb */ color: rgb(179, 72, 183);
/* oklch */ color: oklch(58.5% 0.192 326.2);
Tailwind
colors: {
  custom: {
    50: '#cd82cd',
    500: '#b348b7',
    950: '#000000',
  },
}
SCSS
$custom: #b348b7;
$custom-light: #cd82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b348b7",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 297.838,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.19208,
    "h": 326.2
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#B348B7
secondary
#96C695
accent
#D35559
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B348B7

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

Preview Lab → · Contrast checker → · Palette generator →

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