#B343DC#B343DC

#B343DC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.232 H 315.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B343DC
RGBrgb(179, 67, 220)
HSLhsl(284, 69%, 56%)
HSVhsv(284, 70%, 86%)
CMYKcmyk(18.6%, 69.5%, 0%, 13.7%)
CIE-LABlab(50.41, 66.97, -57.74)
CIE-LCHlch(50.41, 88.43, 319.23°)
OKLaboklab(60.2% 0.1649 -0.1625)
OKLCHoklch(60.2% 0.232 315.4)
XYZxyz(33.5138, 18.7666, 69.5532)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343DC #6CDC43
analogous
#6743DC #B343DC #DC43B8
triadic
#B343DC #DCB343 #43DCB3
tetradic
#B343DC #DC6743 #6CDC43 #43B8DC
square
#B343DC #DC6743 #6CDC43 #43B8DC
split-complementary
#B343DC #B8DC43 #43DC67
monochromatic
#6D1A8B #9523BE #B343DC #C877E6 #DDAAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B343DC#FFFFFF#000000##000000
##B343DC1.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)
#0072E0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#B0628B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b343dc;
/* rgb */ color: rgb(179, 67, 220);
/* oklch */ color: oklch(60.2% 0.232 315.4);
Tailwind
colors: {
  custom: {
    50: '#ce80e8',
    500: '#b343dc',
    950: '#000000',
  },
}
SCSS
$custom: #b343dc;
$custom-light: #ce80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b343dc",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 283.922,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60198,
    "c": 0.23152,
    "h": 315.4
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#B343DC
secondary
#AFDD9E
accent
#EB3C6B
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B343DC

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

Preview Lab → · Contrast checker → · Palette generator →

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