#B346D9#B346D9

#B346D9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.225 H 316.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B346D9
RGBrgb(179, 70, 217)
HSLhsl(284, 66%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(17.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(50.66, 65.18, -55.64)
CIE-LCHlch(50.66, 85.70, 319.51°)
OKLaboklab(60.31% 0.162 -0.1564)
OKLCHoklch(60.31% 0.225 316)
XYZxyz(33.3030, 18.9750, 67.5405)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346D9 #6CD946
analogous
#6A46D9 #B346D9 #D946B6
triadic
#B346D9 #D9B346 #46D9B3
tetradic
#B346D9 #D96A46 #6CD946 #46B6D9
square
#B346D9 #D96A46 #6CD946 #46B6D9
split-complementary
#B346D9 #B6D946 #46D96A
monochromatic
#6D1C89 #9526BB #B346D9 #C879E3 #DDACEE

Accessibility & contrast

On white

4.38
#B346D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B346D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B346D9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346D9#FFFFFF#000000##000000
##B346D91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#B1638A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b346d9;
/* rgb */ color: rgb(179, 70, 217);
/* oklch */ color: oklch(60.3% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#ce82e5',
    500: '#b346d9',
    950: '#000000',
  },
}
SCSS
$custom: #b346d9;
$custom-light: #ce82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b346d9",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 284.49,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.22519,
    "h": 316
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#B346D9
secondary
#AFDC9F
accent
#E93F6B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B346D9

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

Preview Lab → · Contrast checker → · Palette generator →

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