#B345D4#B345D4

#B345D4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.222 H 317.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B345D4
RGBrgb(179, 69, 212)
HSLhsl(286, 62%, 55%)
HSVhsv(286, 67%, 83%)
CMYKcmyk(15.6%, 67.5%, 0%, 16.9%)
CIE-LABlab(50.21, 64.61, -53.51)
CIE-LCHlch(50.21, 83.89, 320.37°)
OKLaboklab(59.9% 0.1634 -0.1501)
OKLCHoklch(59.9% 0.222 317.4)
XYZxyz(32.6005, 18.5948, 64.1465)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D4 #66D445
analogous
#6C45D4 #B345D4 #D445AD
triadic
#B345D4 #D4B345 #45D4B3
tetradic
#B345D4 #D46C45 #66D445 #45ADD4
square
#B345D4 #D46C45 #66D445 #45ADD4
split-complementary
#B345D4 #ADD445 #45D46C
monochromatic
#6A1E81 #9329B3 #B345D4 #C777DF #DCA8EB

Accessibility & contrast

On white

4.45
#B345D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B345D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D4#FFFFFF#000000##000000
##B345D41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#497BD1
Tritanopia (blue-blind)
#B26087
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b345d4;
/* rgb */ color: rgb(179, 69, 212);
/* oklch */ color: oklch(59.9% 0.222 317.4);
Tailwind
colors: {
  custom: {
    50: '#cd81e2',
    500: '#b345d4',
    950: '#000000',
  },
}
SCSS
$custom: #b345d4;
$custom-light: #cd81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d4",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 286.154,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.22188,
    "h": 317.4
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B345D4

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

Preview Lab → · Contrast checker → · Palette generator →

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