#B345D9#B345D9

#B345D9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.226 H 316.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B345D9
RGBrgb(179, 69, 217)
HSLhsl(285, 66%, 56%)
HSVhsv(285, 68%, 85%)
CMYKcmyk(17.5%, 68.2%, 0%, 14.9%)
CIE-LABlab(50.51, 65.58, -55.87)
CIE-LCHlch(50.51, 86.16, 319.57°)
OKLaboklab(60.21% 0.1631 -0.1571)
OKLCHoklch(60.21% 0.226 316.1)
XYZxyz(33.2410, 18.8510, 67.5198)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D9 #6BD945
analogous
#6945D9 #B345D9 #D945B5
triadic
#B345D9 #D9B345 #45D9B3
tetradic
#B345D9 #D96945 #6BD945 #45B5D9
square
#B345D9 #D96945 #6BD945 #45B5D9
split-complementary
#B345D9 #B5D945 #45D969
monochromatic
#6C1C88 #9526BB #B345D9 #C878E3 #DDABEE

Accessibility & contrast

On white

4.40
#B345D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B345D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D9#FFFFFF#000000##000000
##B345D91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#B1628A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345d9;
/* rgb */ color: rgb(179, 69, 217);
/* oklch */ color: oklch(60.2% 0.226 316.1);
Tailwind
colors: {
  custom: {
    50: '#ce81e5',
    500: '#b345d9',
    950: '#000000',
  },
}
SCSS
$custom: #b345d9;
$custom-light: #ce81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d9",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 284.595,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.22641,
    "h": 316.1
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#B345D9
secondary
#AEDB9E
accent
#E93F6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345D9

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

Preview Lab → · Contrast checker → · Palette generator →

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