#B342CE#B342CE

#B342CE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.220 H 319.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B342CE
RGBrgb(179, 66, 206)
HSLhsl(288, 59%, 53%)
HSVhsv(288, 68%, 81%)
CMYKcmyk(13.1%, 68%, 0%, 19.2%)
CIE-LABlab(49.42, 64.68, -51.33)
CIE-LCHlch(49.42, 82.57, 321.56°)
OKLaboklab(59.22% 0.1668 -0.1437)
OKLCHoklch(59.22% 0.22 319.3)
XYZxyz(31.6778, 17.9378, 60.1743)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342CE #5DCE42
analogous
#6D42CE #B342CE #CE42A3
triadic
#B342CE #CEB342 #42CEB3
tetradic
#B342CE #CE6D42 #5DCE42 #42A3CE
square
#B342CE #CE6D42 #5DCE42 #42A3CE
split-complementary
#B342CE #A3CE42 #42CE6D
monochromatic
#661F77 #8F2BA7 #B342CE #C773DB #DAA3E7

Accessibility & contrast

On white

4.58
#B342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B342CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B342CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B342CE#FFFFFF#000000##000000
##B342CE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#4C79CB
Tritanopia (blue-blind)
#B35C83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b342ce;
/* rgb */ color: rgb(179, 66, 206);
/* oklch */ color: oklch(59.2% 0.220 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd7fde',
    500: '#b342ce',
    950: '#000000',
  },
}
SCSS
$custom: #b342ce;
$custom-light: #cd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#b342ce",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 288.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.22023,
    "h": 319.3
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#B342CE
secondary
#A3D498
accent
#E24664
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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