#B342AE#B342AE

#B342AE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.193 H 329.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B342AE
RGBrgb(179, 66, 174)
HSLhsl(303, 46%, 48%)
HSVhsv(303, 63%, 70%)
CMYKcmyk(0%, 63.1%, 2.8%, 29.8%)
CIE-LABlab(47.67, 58.95, -35.51)
CIE-LCHlch(47.67, 68.82, 328.93°)
OKLaboklab(57.39% 0.1662 -0.0978)
OKLCHoklch(57.39% 0.193 329.5)
XYZxyz(28.1784, 16.5381, 41.7442)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342AE #42B347
analogous
#7F42B3 #B342AE #B34275
triadic
#B342AE #AEB342 #42AEB3
tetradic
#B342AE #B37F42 #42B347 #4275B3
square
#B342AE #B37F42 #42B347 #4275B3
split-complementary
#B342AE #75B342 #42B37F
monochromatic
#5A2157 #863283 #B342AE #C86AC4 #D997D6

Accessibility & contrast

On white

4.88
#B342AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B342AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B342AE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B342AE#FFFFFF#000000##FFFFFF
##B342AE1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#B94F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b342ae;
/* rgb */ color: rgb(179, 66, 174);
/* oklch */ color: oklch(57.4% 0.193 329.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ec6',
    500: '#b342ae',
    950: '#000000',
  },
}
SCSS
$custom: #b342ae;
$custom-light: #cd7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b342ae",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 302.655,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.19285,
    "h": 329.5
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#B342AE
secondary
#8CC48F
accent
#D65852
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B342AE

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

Preview Lab → · Contrast checker → · Palette generator →

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