#B345CD#B345CD

#B345CD is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.216 H 319.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B345CD
RGBrgb(179, 69, 205)
HSLhsl(289, 58%, 54%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(12.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(49.80, 63.27, -50.16)
CIE-LCHlch(49.80, 80.74, 321.59°)
OKLaboklab(59.47% 0.1636 -0.1403)
OKLCHoklch(59.47% 0.216 319.4)
XYZxyz(31.7366, 18.2492, 59.5965)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345CD #5FCD45
analogous
#6F45CD #B345CD #CD45A3
triadic
#B345CD #CDB345 #45CDB3
tetradic
#B345CD #CD6F45 #5FCD45 #45A3CD
square
#B345CD #CD6F45 #5FCD45 #45A3CD
split-complementary
#B345CD #A3CD45 #45CD6F
monochromatic
#672077 #902DA8 #B345CD #C775DA #DAA5E7

Accessibility & contrast

On white

4.52
#B345CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B345CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345CD#FFFFFF#000000##000000
##B345CD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#B35D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b345cd;
/* rgb */ color: rgb(179, 69, 205);
/* oklch */ color: oklch(59.5% 0.216 319.4);
Tailwind
colors: {
  custom: {
    50: '#cd81dd',
    500: '#b345cd',
    950: '#000000',
  },
}
SCSS
$custom: #b345cd;
$custom-light: #cd81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b345cd",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 288.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.21557,
    "h": 319.4
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#B345CD
secondary
#A5D49A
accent
#E14764
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345CD

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

Preview Lab → · Contrast checker → · Palette generator →

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