#B345DD#B345DD

#B345DD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.230 H 315.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B345DD
RGBrgb(179, 69, 221)
HSLhsl(283, 69%, 57%)
HSVhsv(283, 69%, 87%)
CMYKcmyk(19%, 68.8%, 0%, 13.3%)
CIE-LABlab(50.76, 66.37, -57.75)
CIE-LCHlch(50.76, 87.98, 318.97°)
OKLaboklab(60.47% 0.1628 -0.1626)
OKLCHoklch(60.47% 0.23 315)
XYZxyz(33.7676, 19.0616, 70.2931)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345DD #6FDD45
analogous
#6745DD #B345DD #DD45BB
triadic
#B345DD #DDB345 #45DDB3
tetradic
#B345DD #DD6745 #6FDD45 #45BBDD
square
#B345DD #DD6745 #6FDD45 #45BBDD
split-complementary
#B345DD #BBDD45 #45DD67
monochromatic
#6E1A8E #9623C1 #B345DD #C879E6 #DDACF0

Accessibility & contrast

On white

4.36
#B345DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B345DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B345DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345DD#FFFFFF#000000##000000
##B345DD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#B0648C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b345dd;
/* rgb */ color: rgb(179, 69, 221);
/* oklch */ color: oklch(60.5% 0.230 315.0);
Tailwind
colors: {
  custom: {
    50: '#ce81e8',
    500: '#b345dd',
    950: '#000000',
  },
}
SCSS
$custom: #b345dd;
$custom-light: #ce81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b345dd",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 283.421,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.23005,
    "h": 315
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#B345DD
secondary
#B1DEA0
accent
#EC3C6D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B345DD

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

Preview Lab → · Contrast checker → · Palette generator →

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