#B345D6#B345D6

#B345D6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.224 H 316.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B345D6
RGBrgb(179, 69, 214)
HSLhsl(286, 64%, 55%)
HSVhsv(286, 68%, 84%)
CMYKcmyk(16.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(50.33, 65.00, -54.46)
CIE-LCHlch(50.33, 84.80, 320.04°)
OKLaboklab(60.02% 0.1633 -0.1529)
OKLCHoklch(60.02% 0.224 316.9)
XYZxyz(32.8543, 18.6963, 65.4834)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D6 #68D645
analogous
#6A45D6 #B345D6 #D645B1
triadic
#B345D6 #D6B345 #45D6B3
tetradic
#B345D6 #D66A45 #68D645 #45B1D6
square
#B345D6 #D66A45 #68D645 #45B1D6
split-complementary
#B345D6 #B1D645 #45D66A
monochromatic
#6B1D84 #9428B6 #B345D6 #C777E1 #DCA9EC

Accessibility & contrast

On white

4.43
#B345D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B345D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D6#FFFFFF#000000##000000
##B345D61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#B16188
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345d6;
/* rgb */ color: rgb(179, 69, 214);
/* oklch */ color: oklch(60.0% 0.224 316.9);
Tailwind
colors: {
  custom: {
    50: '#ce81e3',
    500: '#b345d6',
    950: '#000000',
  },
}
SCSS
$custom: #b345d6;
$custom-light: #ce81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d6",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 285.517,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.22369,
    "h": 316.9
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#B345D6
secondary
#ACDA9D
accent
#E74169
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B345D6

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

Preview Lab → · Contrast checker → · Palette generator →

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