#B345D5#B345D5

#B345D5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.223 H 317.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B345D5
RGBrgb(179, 69, 213)
HSLhsl(286, 63%, 55%)
HSVhsv(286, 68%, 84%)
CMYKcmyk(16%, 67.6%, 0%, 16.5%)
CIE-LABlab(50.27, 64.80, -53.98)
CIE-LCHlch(50.27, 84.34, 320.21°)
OKLaboklab(59.96% 0.1633 -0.1515)
OKLCHoklch(59.96% 0.223 317.1)
XYZxyz(32.7270, 18.6454, 64.8129)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D5 #67D545
analogous
#6B45D5 #B345D5 #D545AF
triadic
#B345D5 #D5B345 #45D5B3
tetradic
#B345D5 #D56B45 #67D545 #45AFD5
square
#B345D5 #D56B45 #67D545 #45AFD5
split-complementary
#B345D5 #AFD545 #45D56B
monochromatic
#6A1D82 #9329B4 #B345D5 #C777E0 #DCA9EC

Accessibility & contrast

On white

4.44
#B345D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B345D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D5#FFFFFF#000000##000000
##B345D51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#487BD2
Tritanopia (blue-blind)
#B26188
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345d5;
/* rgb */ color: rgb(179, 69, 213);
/* oklch */ color: oklch(60.0% 0.223 317.1);
Tailwind
colors: {
  custom: {
    50: '#ce81e3',
    500: '#b345d5',
    950: '#000000',
  },
}
SCSS
$custom: #b345d5;
$custom-light: #ce81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d5",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 285.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.22278,
    "h": 317.1
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#B345D5
secondary
#ABD99D
accent
#E64268
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345D5

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

Preview Lab → · Contrast checker → · Palette generator →

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