#B345DA#B345DA

#B345DA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.227 H 315.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B345DA
RGBrgb(179, 69, 218)
HSLhsl(284, 67%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(17.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(50.57, 65.78, -56.34)
CIE-LCHlch(50.57, 86.61, 319.42°)
OKLaboklab(60.27% 0.163 -0.1584)
OKLCHoklch(60.27% 0.227 315.8)
XYZxyz(33.3714, 18.9032, 68.2069)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345DA #6CDA45
analogous
#6945DA #B345DA #DA45B7
triadic
#B345DA #DAB345 #45DAB3
tetradic
#B345DA #DA6945 #6CDA45 #45B7DA
square
#B345DA #DA6945 #6CDA45 #45B7DA
split-complementary
#B345DA #B7DA45 #45DA69
monochromatic
#6D1B89 #9525BC #B345DA #C878E4 #DDABEE

Accessibility & contrast

On white

4.39
#B345DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B345DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345DA#FFFFFF#000000##000000
##B345DA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#447BD7
Tritanopia (blue-blind)
#B0638B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b345da;
/* rgb */ color: rgb(179, 69, 218);
/* oklch */ color: oklch(60.3% 0.227 315.8);
Tailwind
colors: {
  custom: {
    50: '#ce81e6',
    500: '#b345da',
    950: '#000000',
  },
}
SCSS
$custom: #b345da;
$custom-light: #ce81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b345da",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 284.295,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.22732,
    "h": 315.8
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#B345DA
secondary
#AFDC9F
accent
#EA3E6B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345DA

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

Preview Lab → · Contrast checker → · Palette generator →

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