#B345CB#B345CB

#B345CB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.214 H 320.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B345CB
RGBrgb(179, 69, 203)
HSLhsl(289, 56%, 53%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(11.8%, 66%, 0%, 20.4%)
CIE-LABlab(49.68, 62.89, -49.19)
CIE-LCHlch(49.68, 79.85, 321.97°)
OKLaboklab(59.35% 0.1637 -0.1375)
OKLCHoklch(59.35% 0.214 320)
XYZxyz(31.4967, 18.1533, 58.3332)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345CB #5DCB45
analogous
#7045CB #B345CB #CB45A0
triadic
#B345CB #CBB345 #45CBB3
tetradic
#B345CB #CB7045 #5DCB45 #45A0CB
square
#B345CB #CB7045 #5DCB45 #45A0CB
split-complementary
#B345CB #A0CB45 #45CB70
monochromatic
#662175 #8F2EA5 #B345CB #C775D8 #DAA5E6

Accessibility & contrast

On white

4.54
#B345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B345CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345CB#FFFFFF#000000##000000
##B345CB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#B45C82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b345cb;
/* rgb */ color: rgb(179, 69, 203);
/* oklch */ color: oklch(59.3% 0.214 320.0);
Tailwind
colors: {
  custom: {
    50: '#cd81db',
    500: '#b345cb',
    950: '#000000',
  },
}
SCSS
$custom: #b345cb;
$custom-light: #cd81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b345cb",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 289.254,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.21378,
    "h": 320
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#B345CB
secondary
#A3D399
accent
#E04863
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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