#B342AD#B342AD

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

Color values

HEX#B342AD
RGBrgb(179, 66, 173)
HSLhsl(303, 46%, 48%)
HSVhsv(303, 63%, 70%)
CMYKcmyk(0%, 63.1%, 3.4%, 29.8%)
CIE-LABlab(47.62, 58.78, -35.00)
CIE-LCHlch(47.62, 68.41, 329.23°)
OKLaboklab(57.34% 0.1662 -0.0963)
OKLCHoklch(57.34% 0.192 329.9)
XYZxyz(28.0812, 16.4992, 41.2327)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342AD #42B348
analogous
#8042B3 #B342AD #B34274
triadic
#B342AD #ADB342 #42ADB3
tetradic
#B342AD #B38042 #42B348 #4274B3
square
#B342AD #B38042 #42B348 #4274B3
split-complementary
#B342AD #74B342 #42B380
monochromatic
#5A2157 #863282 #B342AD #C86AC3 #D997D5

Accessibility & contrast

On white

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

On black

4.30
#B342AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B342AD#FFFFFF#000000##FFFFFF
##B342AD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6076AA
Tritanopia (blue-blind)
#B94E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b342ad;
/* rgb */ color: rgb(179, 66, 173);
/* oklch */ color: oklch(57.3% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ec6',
    500: '#b342ad',
    950: '#000000',
  },
}
SCSS
$custom: #b342ad;
$custom-light: #cd7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b342ad",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 303.186,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.19204,
    "h": 329.9
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#B342AD
secondary
#8CC48F
accent
#D65952
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B342AD

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

Preview Lab → · Contrast checker → · Palette generator →

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