#B348B2#B348B2

#B348B2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.188 H 328.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B348B2
RGBrgb(179, 72, 178)
HSLhsl(301, 43%, 49%)
HSVhsv(301, 60%, 70%)
CMYKcmyk(0%, 59.8%, 0.6%, 29.8%)
CIE-LABlab(48.80, 57.06, -36.08)
CIE-LCHlch(48.80, 67.51, 327.70°)
OKLaboklab(58.28% 0.1593 -0.0994)
OKLCHoklch(58.28% 0.188 328)
XYZxyz(28.9433, 17.4347, 43.9516)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348B2 #48B349
analogous
#7F48B3 #B348B2 #B3487D
triadic
#B348B2 #B2B348 #48B2B3
tetradic
#B348B2 #B37F48 #48B349 #487DB3
square
#B348B2 #B37F48 #48B349 #487DB3
split-complementary
#B348B2 #7DB348 #48B37F
monochromatic
#5C255B #873687 #B348B2 #C672C5 #D89ED7

Accessibility & contrast

On white

4.68
#B348B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B348B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348B2#FFFFFF#000000##FFFFFF
##B348B21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#B85576
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b348b2;
/* rgb */ color: rgb(179, 72, 178);
/* oklch */ color: oklch(58.3% 0.188 328.0);
Tailwind
colors: {
  custom: {
    50: '#cd82c9',
    500: '#b348b2',
    950: '#000000',
  },
}
SCSS
$custom: #b348b2;
$custom-light: #cd82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b348b2",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 300.561,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.18777,
    "h": 328
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#B348B2
secondary
#92C493
accent
#D25755
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B348B2

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

Preview Lab → · Contrast checker → · Palette generator →

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