#B343DB#B343DB

#B343DB is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.231 H 315.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B343DB
RGBrgb(179, 67, 219)
HSLhsl(284, 68%, 56%)
HSVhsv(284, 69%, 86%)
CMYKcmyk(18.3%, 69.4%, 0%, 14.1%)
CIE-LABlab(50.35, 66.78, -57.27)
CIE-LCHlch(50.35, 87.97, 319.38°)
OKLaboklab(60.13% 0.165 -0.1611)
OKLCHoklch(60.13% 0.231 315.7)
XYZxyz(33.3817, 18.7137, 68.8578)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343DB #6BDB43
analogous
#6743DB #B343DB #DB43B7
triadic
#B343DB #DBB343 #43DBB3
tetradic
#B343DB #DB6743 #6BDB43 #43B7DB
square
#B343DB #DB6743 #6BDB43 #43B7DB
split-complementary
#B343DB #B7DB43 #43DB67
monochromatic
#6C1A89 #9524BD #B343DB #C876E5 #DDAAEF

Accessibility & contrast

On white

4.43
#B343DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B343DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B343DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343DB#FFFFFF#000000##000000
##B343DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#B0628B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b343db;
/* rgb */ color: rgb(179, 67, 219);
/* oklch */ color: oklch(60.1% 0.231 315.7);
Tailwind
colors: {
  custom: {
    50: '#ce80e7',
    500: '#b343db',
    950: '#000000',
  },
}
SCSS
$custom: #b343db;
$custom-light: #ce80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b343db",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 284.211,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.23062,
    "h": 315.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#B343DB
secondary
#AEDC9E
accent
#EB3D6B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B343DB

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

Preview Lab → · Contrast checker → · Palette generator →

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