#B345E6#B345E6

#B345E6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.238 H 312.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B345E6
RGBrgb(179, 69, 230)
HSLhsl(281, 76%, 59%)
HSVhsv(281, 70%, 90%)
CMYKcmyk(22.2%, 70%, 0%, 9.8%)
CIE-LABlab(51.33, 68.17, -61.93)
CIE-LCHlch(51.33, 92.10, 317.74°)
OKLaboklab(61.05% 0.1619 -0.1748)
OKLCHoklch(61.05% 0.238 312.8)
XYZxyz(34.9989, 19.5541, 76.7782)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345E6 #78E645
analogous
#6245E6 #B345E6 #E645C8
triadic
#B345E6 #E6B345 #45E6B3
tetradic
#B345E6 #E66245 #78E645 #45C8E6
square
#B345E6 #E66245 #78E645 #45C8E6
split-complementary
#B345E6 #C8E645 #45E662
monochromatic
#71159C #981CD2 #B345E6 #C97BED #DFB1F5

Accessibility & contrast

On white

4.28
#B345E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B345E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345E6#FFFFFF#000000##000000
##B345E61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#367DE2
Tritanopia (blue-blind)
#AD6791
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b345e6;
/* rgb */ color: rgb(179, 69, 230);
/* oklch */ color: oklch(61.1% 0.238 312.8);
Tailwind
colors: {
  custom: {
    50: '#ce82ef',
    500: '#b345e6',
    950: '#000000',
  },
}
SCSS
$custom: #b345e6;
$custom-light: #ce82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b345e6",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 280.994,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.23828,
    "h": 312.8
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#B345E6
secondary
#B8E3A4
accent
#F33571
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345E6

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

Preview Lab → · Contrast checker → · Palette generator →

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