#B346B2#B346B2

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

Color values

HEX#B346B2
RGBrgb(179, 70, 178)
HSLhsl(301, 44%, 49%)
HSVhsv(301, 61%, 70%)
CMYKcmyk(0%, 60.9%, 0.6%, 29.8%)
CIE-LABlab(48.49, 57.94, -36.58)
CIE-LCHlch(48.49, 68.52, 327.73°)
OKLaboklab(58.05% 0.1618 -0.1009)
OKLCHoklch(58.05% 0.191 328.1)
XYZxyz(28.8161, 17.1803, 43.9092)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346B2 #46B347
analogous
#7E46B3 #B346B2 #B3467C
triadic
#B346B2 #B2B346 #46B2B3
tetradic
#B346B2 #B37E46 #46B347 #467CB3
square
#B346B2 #B37E46 #46B347 #467CB3
split-complementary
#B346B2 #7CB346 #46B37E
monochromatic
#5B245B #873586 #B346B2 #C76FC6 #D89BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B346B2#FFFFFF#000000##FFFFFF
##B346B21.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)
#3A6AB5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#B85376
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b346b2;
/* rgb */ color: rgb(179, 70, 178);
/* oklch */ color: oklch(58.0% 0.191 328.1);
Tailwind
colors: {
  custom: {
    50: '#cd80c9',
    500: '#b346b2',
    950: '#000000',
  },
}
SCSS
$custom: #b346b2;
$custom-light: #cd80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b346b2",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 300.55,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.19062,
    "h": 328.1
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#B346B2
secondary
#90C491
accent
#D45554
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B346B2

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

Preview Lab → · Contrast checker → · Palette generator →

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