#B346EB#B346EB

#B346EB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.5% C 0.242 H 311.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B346EB
RGBrgb(179, 70, 235)
HSLhsl(280, 80%, 60%)
HSVhsv(280, 70%, 92%)
CMYKcmyk(23.8%, 70.2%, 0%, 7.8%)
CIE-LABlab(51.80, 68.78, -63.99)
CIE-LCHlch(51.80, 93.95, 317.06°)
OKLaboklab(61.49% 0.1604 -0.1809)
OKLCHoklch(61.49% 0.242 311.6)
XYZxyz(35.7732, 19.9631, 80.5500)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346EB #7EEB46
analogous
#6046EB #B346EB #EB46D1
triadic
#B346EB #EBB346 #46EBB3
tetradic
#B346EB #EB6046 #7EEB46 #46D1EB
square
#B346EB #EB6046 #7EEB46 #46D1EB
split-complementary
#B346EB #D1EB46 #46EB60
monochromatic
#7312A5 #9918DC #B346EB #CA7DF1 #E0B4F7

Accessibility & contrast

On white

4.21
#B346EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B346EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B346EB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346EB#FFFFFF#000000##000000
##B346EB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#AC6A94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b346eb;
/* rgb */ color: rgb(179, 70, 235);
/* oklch */ color: oklch(61.5% 0.242 311.6);
Tailwind
colors: {
  custom: {
    50: '#ce82f2',
    500: '#b346eb',
    950: '#000000',
  },
}
SCSS
$custom: #b346eb;
$custom-light: #ce82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b346eb",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 279.636,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.24173,
    "h": 311.6
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#B346EB
secondary
#BCE6A7
accent
#F73174
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B346EB

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

Preview Lab → · Contrast checker → · Palette generator →

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