#B346CB#B346CB

#B346CB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.212 H 319.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B346CB
RGBrgb(179, 70, 203)
HSLhsl(289, 56%, 54%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(11.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(49.83, 62.48, -48.95)
CIE-LCHlch(49.83, 79.37, 321.92°)
OKLaboklab(59.45% 0.1626 -0.1368)
OKLCHoklch(59.45% 0.212 319.9)
XYZxyz(31.5587, 18.2773, 58.3539)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346CB #5ECB46
analogous
#7046CB #B346CB #CB46A0
triadic
#B346CB #CBB346 #46CBB3
tetradic
#B346CB #CB7046 #5ECB46 #46A0CB
square
#B346CB #CB7046 #5ECB46 #46A0CB
split-complementary
#B346CB #A0CB46 #46CB70
monochromatic
#662176 #902EA5 #B346CB #C776D8 #DAA6E6

Accessibility & contrast

On white

4.51
#B346CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B346CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B346CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346CB#FFFFFF#000000##000000
##B346CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#B45D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b346cb;
/* rgb */ color: rgb(179, 70, 203);
/* oklch */ color: oklch(59.5% 0.212 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd81db',
    500: '#b346cb',
    950: '#000000',
  },
}
SCSS
$custom: #b346cb;
$custom-light: #cd81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b346cb",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 289.173,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.21249,
    "h": 319.9
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#B346CB
secondary
#A4D39A
accent
#DF4864
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B346CB

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

Preview Lab → · Contrast checker → · Palette generator →

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