#B345CC#B345CC

#B345CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.215 H 319.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B345CC
RGBrgb(179, 69, 204)
HSLhsl(289, 57%, 54%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(12.3%, 66.2%, 0%, 20%)
CIE-LABlab(49.74, 63.08, -49.67)
CIE-LCHlch(49.74, 80.29, 321.78°)
OKLaboklab(59.41% 0.1637 -0.1389)
OKLCHoklch(59.41% 0.215 319.7)
XYZxyz(31.6162, 18.2011, 58.9628)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345CC #5ECC45
analogous
#6F45CC #B345CC #CC45A1
triadic
#B345CC #CCB345 #45CCB3
tetradic
#B345CC #CC6F45 #5ECC45 #45A1CC
square
#B345CC #CC6F45 #5ECC45 #45A1CC
split-complementary
#B345CC #A1CC45 #45CC6F
monochromatic
#662076 #902EA6 #B345CC #C775D9 #DAA5E6

Accessibility & contrast

On white

4.53
#B345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B345CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345CC#FFFFFF#000000##000000
##B345CC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#B35D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b345cc;
/* rgb */ color: rgb(179, 69, 204);
/* oklch */ color: oklch(59.4% 0.215 319.7);
Tailwind
colors: {
  custom: {
    50: '#cd81dc',
    500: '#b345cc',
    950: '#000000',
  },
}
SCSS
$custom: #b345cc;
$custom-light: #cd81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b345cc",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 288.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.21468,
    "h": 319.7
  },
  "luminance": 0.182
}

Semantic roles & 50–950 ramp

primary
#B345CC
secondary
#A4D399
accent
#E04864
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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