#B345D7#B345D7

#B345D7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.225 H 316.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B345D7
RGBrgb(179, 69, 215)
HSLhsl(285, 65%, 56%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(16.7%, 67.9%, 0%, 15.7%)
CIE-LABlab(50.39, 65.19, -54.93)
CIE-LCHlch(50.39, 85.25, 319.88°)
OKLaboklab(60.08% 0.1632 -0.1543)
OKLCHoklch(60.08% 0.225 316.6)
XYZxyz(32.9824, 18.7475, 66.1581)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345D7 #69D745
analogous
#6A45D7 #B345D7 #D745B2
triadic
#B345D7 #D7B345 #45D7B3
tetradic
#B345D7 #D76A45 #69D745 #45B2D7
square
#B345D7 #D76A45 #69D745 #45B2D7
split-complementary
#B345D7 #B2D745 #45D76A
monochromatic
#6B1D85 #9427B7 #B345D7 #C877E2 #DCAAED

Accessibility & contrast

On white

4.42
#B345D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B345D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345D7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345D7#FFFFFF#000000##000000
##B345D71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#B16189
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345d7;
/* rgb */ color: rgb(179, 69, 215);
/* oklch */ color: oklch(60.1% 0.225 316.6);
Tailwind
colors: {
  custom: {
    50: '#ce81e4',
    500: '#b345d7',
    950: '#000000',
  },
}
SCSS
$custom: #b345d7;
$custom-light: #ce81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b345d7",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 285.205,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.22459,
    "h": 316.6
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#B345D7
secondary
#ADDA9E
accent
#E84069
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345D7

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

Preview Lab → · Contrast checker → · Palette generator →

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