#B341B4#B341B4

#B341B4 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.199 H 327.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B341B4
RGBrgb(179, 65, 180)
HSLhsl(299, 47%, 48%)
HSVhsv(299, 64%, 71%)
CMYKcmyk(0.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(47.83, 60.38, -38.78)
CIE-LCHlch(47.83, 71.76, 327.29°)
OKLaboklab(57.6% 0.1678 -0.1072)
OKLCHoklch(57.6% 0.199 327.4)
XYZxyz(28.7185, 16.6615, 44.8745)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B4 #42B441
analogous
#7941B4 #B341B4 #B4417B
triadic
#B341B4 #B4B341 #41B4B3
tetradic
#B341B4 #B47941 #42B441 #417BB4
square
#B341B4 #B47941 #42B441 #417BB4
split-complementary
#B341B4 #7BB441 #41B479
monochromatic
#5A215A #863187 #B341B4 #C869C9 #D996D9

Accessibility & contrast

On white

4.85
#B341B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B341B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341B4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341B4#FFFFFF#000000##FFFFFF
##B341B41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#B85075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b341b4;
/* rgb */ color: rgb(179, 65, 180);
/* oklch */ color: oklch(57.6% 0.199 327.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ecb',
    500: '#b341b4',
    950: '#000000',
  },
}
SCSS
$custom: #b341b4;
$custom-light: #cd7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b4",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 299.478,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.19914,
    "h": 327.4
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#B341B4
secondary
#8CC58C
accent
#D75152
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B341B4

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

Preview Lab → · Contrast checker → · Palette generator →

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