#B346DC#B346DC

#B346DC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.228 H 315.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B346DC
RGBrgb(179, 70, 220)
HSLhsl(284, 68%, 57%)
HSVhsv(284, 68%, 86%)
CMYKcmyk(18.6%, 68.2%, 0%, 13.7%)
CIE-LABlab(50.84, 65.77, -57.05)
CIE-LCHlch(50.84, 87.06, 319.06°)
OKLaboklab(60.51% 0.1618 -0.1605)
OKLCHoklch(60.51% 0.228 315.2)
XYZxyz(33.6968, 19.1325, 69.6142)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346DC #6FDC46
analogous
#6846DC #B346DC #DC46BA
triadic
#B346DC #DCB346 #46DCB3
tetradic
#B346DC #DC6846 #6FDC46 #46BADC
square
#B346DC #DC6846 #6FDC46 #46BADC
split-complementary
#B346DC #BADC46 #46DC68
monochromatic
#6E1B8D #9624C0 #B346DC #C879E6 #DDADEF

Accessibility & contrast

On white

4.35
#B346DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B346DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B346DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346DC#FFFFFF#000000##000000
##B346DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#B0648C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b346dc;
/* rgb */ color: rgb(179, 70, 220);
/* oklch */ color: oklch(60.5% 0.228 315.2);
Tailwind
colors: {
  custom: {
    50: '#ce82e8',
    500: '#b346dc',
    950: '#000000',
  },
}
SCSS
$custom: #b346dc;
$custom-light: #ce82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b346dc",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 283.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.22793,
    "h": 315.2
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#B346DC
secondary
#B1DDA0
accent
#EB3D6C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B346DC

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

Preview Lab → · Contrast checker → · Palette generator →

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