#B342BF#B342BF

#B342BF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.207 H 323.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B342BF
RGBrgb(179, 66, 191)
HSLhsl(294, 49%, 50%)
HSVhsv(294, 65%, 75%)
CMYKcmyk(6.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(48.57, 61.91, -44.03)
CIE-LCHlch(48.57, 75.98, 324.58°)
OKLaboklab(58.33% 0.1671 -0.1225)
OKLCHoklch(58.33% 0.207 323.8)
XYZxyz(29.9417, 17.2434, 51.0313)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342BF #4EBF42
analogous
#7442BF #B342BF #BF428C
triadic
#B342BF #BFB342 #42BFB3
tetradic
#B342BF #BF7442 #4EBF42 #428CBF
square
#B342BF #BF7442 #4EBF42 #428CBF
split-complementary
#B342BF #8CBF42 #42BF74
monochromatic
#5E2265 #893292 #B342BF #C570CE #D89DDE

Accessibility & contrast

On white

4.72
#B342BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B342BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B342BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B342BF#FFFFFF#000000##FFFFFF
##B342BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#B6567B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b342bf;
/* rgb */ color: rgb(179, 66, 191);
/* oklch */ color: oklch(58.3% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd7fd3',
    500: '#b342bf',
    950: '#000000',
  },
}
SCSS
$custom: #b342bf;
$custom-light: #cd7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b342bf",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 294.24,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.20714,
    "h": 323.8
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#B342BF
secondary
#98CA93
accent
#D94F5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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