#B345C8#B345C8

#B345C8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.211 H 320.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B345C8
RGBrgb(179, 69, 200)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 66%, 78%)
CMYKcmyk(10.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(49.51, 62.33, -47.74)
CIE-LCHlch(49.51, 78.51, 322.55°)
OKLaboklab(59.17% 0.1637 -0.1333)
OKLCHoklch(59.17% 0.211 320.9)
XYZxyz(31.1426, 18.0116, 56.4686)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345C8 #5AC845
analogous
#7245C8 #B345C8 #C8459B
triadic
#B345C8 #C8B345 #45C8B3
tetradic
#B345C8 #C87245 #5AC845 #459BC8
square
#B345C8 #C87245 #5AC845 #459BC8
split-complementary
#B345C8 #9BC845 #45C872
monochromatic
#642171 #8E2FA0 #B345C8 #C674D6 #DAA3E4

Accessibility & contrast

On white

4.56
#B345C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B345C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345C8#FFFFFF#000000##000000
##B345C81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#B45B81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b345c8;
/* rgb */ color: rgb(179, 69, 200);
/* oklch */ color: oklch(59.2% 0.211 320.9);
Tailwind
colors: {
  custom: {
    50: '#cd81d9',
    500: '#b345c8',
    950: '#000000',
  },
}
SCSS
$custom: #b345c8;
$custom-light: #cd81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b345c8",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 290.382,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.21111,
    "h": 320.9
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#B345C8
secondary
#A1D198
accent
#DE4A62
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345C8

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

Preview Lab → · Contrast checker → · Palette generator →

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