#B342C3#B342C3

#B342C3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.211 H 322.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B342C3
RGBrgb(179, 66, 195)
HSLhsl(293, 52%, 51%)
HSVhsv(293, 66%, 76%)
CMYKcmyk(8.2%, 66.2%, 0%, 23.5%)
CIE-LABlab(48.79, 62.64, -46.00)
CIE-LCHlch(48.79, 77.71, 323.71°)
OKLaboklab(58.56% 0.1671 -0.1282)
OKLCHoklch(58.56% 0.211 322.5)
XYZxyz(30.3879, 17.4219, 53.3813)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342C3 #52C342
analogous
#7242C3 #B342C3 #C34292
triadic
#B342C3 #C3B342 #42C3B3
tetradic
#B342C3 #C37242 #52C342 #4292C3
square
#B342C3 #C37242 #52C342 #4292C3
split-complementary
#B342C3 #92C342 #42C372
monochromatic
#602169 #8B3098 #B342C3 #C670D2 #D89FE0

Accessibility & contrast

On white

4.68
#B342C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B342C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B342C3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B342C3#FFFFFF#000000##FFFFFF
##B342C31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206CC7
Deuteranopia (green-blind)
#5478C0
Tritanopia (blue-blind)
#B5577D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b342c3;
/* rgb */ color: rgb(179, 66, 195);
/* oklch */ color: oklch(58.6% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#cd7fd6',
    500: '#b342c3',
    950: '#000000',
  },
}
SCSS
$custom: #b342c3;
$custom-light: #cd7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b342c3",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 292.558,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.21058,
    "h": 322.5
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#B342C3
secondary
#9BCD94
accent
#DB4D5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B342C3

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

Preview Lab → · Contrast checker → · Palette generator →

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