#B345DC#B345DC

#B345DC is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.229 H 315.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B345DC
RGBrgb(179, 69, 220)
HSLhsl(284, 68%, 57%)
HSVhsv(284, 69%, 86%)
CMYKcmyk(18.6%, 68.6%, 0%, 13.7%)
CIE-LABlab(50.70, 66.17, -57.28)
CIE-LCHlch(50.70, 87.52, 319.12°)
OKLaboklab(60.4% 0.1629 -0.1612)
OKLCHoklch(60.4% 0.229 315.3)
XYZxyz(33.6347, 19.0085, 69.5935)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345DC #6EDC45
analogous
#6845DC #B345DC #DC45B9
triadic
#B345DC #DCB345 #45DCB3
tetradic
#B345DC #DC6845 #6EDC45 #45B9DC
square
#B345DC #DC6845 #6EDC45 #45B9DC
split-complementary
#B345DC #B9DC45 #45DC68
monochromatic
#6D1A8C #9524C0 #B345DC #C879E6 #DDACEF

Accessibility & contrast

On white

4.37
#B345DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B345DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345DC#FFFFFF#000000##000000
##B345DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#B0638C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b345dc;
/* rgb */ color: rgb(179, 69, 220);
/* oklch */ color: oklch(60.4% 0.229 315.3);
Tailwind
colors: {
  custom: {
    50: '#ce81e8',
    500: '#b345dc',
    950: '#000000',
  },
}
SCSS
$custom: #b345dc;
$custom-light: #ce81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b345dc",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 283.709,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.22914,
    "h": 315.3
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#B345DC
secondary
#B0DDA0
accent
#EB3D6C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345DC

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

Preview Lab → · Contrast checker → · Palette generator →

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