#B345C7#B345C7

#B345C7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.210 H 321.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B345C7
RGBrgb(179, 69, 199)
HSLhsl(291, 54%, 53%)
HSVhsv(291, 65%, 78%)
CMYKcmyk(10.1%, 65.3%, 0%, 22%)
CIE-LABlab(49.45, 62.14, -47.25)
CIE-LCHlch(49.45, 78.07, 322.75°)
OKLaboklab(59.11% 0.1637 -0.1318)
OKLCHoklch(59.11% 0.21 321.2)
XYZxyz(31.0262, 17.9650, 55.8551)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345C7 #59C745
analogous
#7245C7 #B345C7 #C7459A
triadic
#B345C7 #C7B345 #45C7B3
tetradic
#B345C7 #C77245 #59C745 #459AC7
square
#B345C7 #C77245 #59C745 #459AC7
split-complementary
#B345C7 #9AC745 #45C772
monochromatic
#642270 #8E309F #B345C7 #C674D5 #D9A3E3

Accessibility & contrast

On white

4.57
#B345C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B345C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345C7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345C7#FFFFFF#000000##000000
##B345C71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#537AC4
Tritanopia (blue-blind)
#B55B80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b345c7;
/* rgb */ color: rgb(179, 69, 199);
/* oklch */ color: oklch(59.1% 0.210 321.2);
Tailwind
colors: {
  custom: {
    50: '#cd81d8',
    500: '#b345c7',
    950: '#000000',
  },
}
SCSS
$custom: #b345c7;
$custom-light: #cd81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b345c7",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 290.769,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.21023,
    "h": 321.2
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#B345C7
secondary
#A0D098
accent
#DD4B61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B345C7

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

Preview Lab → · Contrast checker → · Palette generator →

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