#B345D8#B345D8

#B345D8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.226 H 316.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B345D8
RGBrgb(179, 69, 216)
HSLhsl(285, 65%, 56%)
HSVhsv(285, 68%, 85%)
CMYKcmyk(17.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(50.45, 65.39, -55.40)
CIE-LCHlch(50.45, 85.70, 319.73°)
OKLaboklab(60.15% 0.1631 -0.1557)
OKLCHoklch(60.15% 0.226 316.3)
XYZxyz(33.1113, 18.7991, 66.8369)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D8 #6AD845
analogous
#6945D8 #B345D8 #D845B3
triadic
#B345D8 #D8B345 #45D8B3
tetradic
#B345D8 #D86945 #6AD845 #45B3D8
square
#B345D8 #D86945 #6AD845 #45B3D8
split-complementary
#B345D8 #B3D845 #45D869
monochromatic
#6C1C86 #9427B9 #B345D8 #C878E3 #DCAAED

Accessibility & contrast

On white

4.41
#B345D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B345D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D8#FFFFFF#000000##000000
##B345D81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#B16289
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345d8;
/* rgb */ color: rgb(179, 69, 216);
/* oklch */ color: oklch(60.1% 0.226 316.3);
Tailwind
colors: {
  custom: {
    50: '#ce81e5',
    500: '#b345d8',
    950: '#000000',
  },
}
SCSS
$custom: #b345d8;
$custom-light: #ce81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d8",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 284.898,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.2255,
    "h": 316.3
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#B345D8
secondary
#ADDB9E
accent
#E8406A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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