#B341AF#B341AF

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

Color values

HEX#B341AF
RGBrgb(179, 65, 175)
HSLhsl(302, 47%, 48%)
HSVhsv(302, 64%, 70%)
CMYKcmyk(0%, 63.7%, 2.2%, 29.8%)
CIE-LABlab(47.57, 59.53, -36.25)
CIE-LCHlch(47.57, 69.70, 328.66°)
OKLaboklab(57.34% 0.1675 -0.0999)
OKLCHoklch(57.34% 0.195 329.2)
XYZxyz(28.2183, 16.4614, 42.2402)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341AF #41B345
analogous
#7E41B3 #B341AF #B34176
triadic
#B341AF #AFB341 #41AFB3
tetradic
#B341AF #B37E41 #41B345 #4176B3
square
#B341AF #B37E41 #41B345 #4176B3
split-complementary
#B341AF #76B341 #41B37E
monochromatic
#592057 #863183 #B341AF #C869C5 #D996D6

Accessibility & contrast

On white

4.89
#B341AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B341AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341AF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341AF#FFFFFF#000000##FFFFFF
##B341AF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#5F76AC
Tritanopia (blue-blind)
#B94E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b341af;
/* rgb */ color: rgb(179, 65, 175);
/* oklch */ color: oklch(57.3% 0.195 329.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ec7',
    500: '#b341af',
    950: '#000000',
  },
}
SCSS
$custom: #b341af;
$custom-light: #cd7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b341af",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 302.105,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.19502,
    "h": 329.2
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#B341AF
secondary
#8BC48D
accent
#D65651
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B341AF

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

Preview Lab → · Contrast checker → · Palette generator →

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