#B345DB#B345DB

#B345DB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.228 H 315.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B345DB
RGBrgb(179, 69, 219)
HSLhsl(284, 68%, 56%)
HSVhsv(284, 68%, 86%)
CMYKcmyk(18.3%, 68.5%, 0%, 14.1%)
CIE-LABlab(50.64, 65.98, -56.81)
CIE-LCHlch(50.64, 87.07, 319.27°)
OKLaboklab(60.34% 0.1629 -0.1598)
OKLCHoklch(60.34% 0.228 315.6)
XYZxyz(33.5027, 18.9557, 68.8981)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345DB #6DDB45
analogous
#6845DB #B345DB #DB45B8
triadic
#B345DB #DBB345 #45DBB3
tetradic
#B345DB #DB6845 #6DDB45 #45B8DB
square
#B345DB #DB6845 #6DDB45 #45B8DB
split-complementary
#B345DB #B8DB45 #45DB68
monochromatic
#6D1B8B #9525BE #B345DB #C878E5 #DDACEF

Accessibility & contrast

On white

4.38
#B345DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B345DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345DB#FFFFFF#000000##000000
##B345DB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#B0638B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b345db;
/* rgb */ color: rgb(179, 69, 219);
/* oklch */ color: oklch(60.3% 0.228 315.6);
Tailwind
colors: {
  custom: {
    50: '#ce81e7',
    500: '#b345db',
    950: '#000000',
  },
}
SCSS
$custom: #b345db;
$custom-light: #ce81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b345db",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 284,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.22823,
    "h": 315.6
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#B345DB
secondary
#B0DD9F
accent
#EA3D6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345DB

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

Preview Lab → · Contrast checker → · Palette generator →

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