#B345D1#B345D1

#B345D1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.219 H 318.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B345D1
RGBrgb(179, 69, 209)
HSLhsl(287, 60%, 55%)
HSVhsv(287, 67%, 82%)
CMYKcmyk(14.4%, 67%, 0%, 18%)
CIE-LABlab(50.03, 64.03, -52.08)
CIE-LCHlch(50.03, 82.54, 320.88°)
OKLaboklab(59.71% 0.1635 -0.1459)
OKLCHoklch(59.71% 0.219 318.2)
XYZxyz(32.2256, 18.4448, 62.1720)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D1 #63D145
analogous
#6D45D1 #B345D1 #D145A9
triadic
#B345D1 #D1B345 #45D1B3
tetradic
#B345D1 #D16D45 #63D145 #45A9D1
square
#B345D1 #D16D45 #63D145 #45A9D1
split-complementary
#B345D1 #A9D145 #45D16D
monochromatic
#691F7D #922BAE #B345D1 #C776DD #DBA7E9

Accessibility & contrast

On white

4.48
#B345D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B345D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D1#FFFFFF#000000##000000
##B345D11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0270D5
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#B25F86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b345d1;
/* rgb */ color: rgb(179, 69, 209);
/* oklch */ color: oklch(59.7% 0.219 318.2);
Tailwind
colors: {
  custom: {
    50: '#cd81e0',
    500: '#b345d1',
    950: '#000000',
  },
}
SCSS
$custom: #b345d1;
$custom-light: #cd81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d1",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 287.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.21917,
    "h": 318.2
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#B345D1
secondary
#A8D79B
accent
#E34466
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B345D1

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

Preview Lab → · Contrast checker → · Palette generator →

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