#B341B2#B341B2

#B341B2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.197 H 328.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B341B2
RGBrgb(179, 65, 178)
HSLhsl(301, 47%, 48%)
HSVhsv(301, 64%, 70%)
CMYKcmyk(0%, 63.7%, 0.6%, 29.8%)
CIE-LABlab(47.73, 60.04, -37.78)
CIE-LCHlch(47.73, 70.93, 327.82°)
OKLaboklab(57.5% 0.1677 -0.1043)
OKLCHoklch(57.5% 0.197 328.1)
XYZxyz(28.5162, 16.5806, 43.8093)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B2 #41B342
analogous
#7B41B3 #B341B2 #B34179
triadic
#B341B2 #B2B341 #41B2B3
tetradic
#B341B2 #B37B41 #41B342 #4179B3
square
#B341B2 #B37B41 #41B342 #4179B3
split-complementary
#B341B2 #79B341 #41B37B
monochromatic
#592059 #863185 #B341B2 #C869C8 #D996D8

Accessibility & contrast

On white

4.87
#B341B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B341B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341B2#FFFFFF#000000##FFFFFF
##B341B21.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#B95074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b341b2;
/* rgb */ color: rgb(179, 65, 178);
/* oklch */ color: oklch(57.5% 0.197 328.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ec9',
    500: '#b341b2',
    950: '#000000',
  },
}
SCSS
$custom: #b341b2;
$custom-light: #cd7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b2",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 300.526,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.19748,
    "h": 328.1
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#B341B2
secondary
#8BC48C
accent
#D65351
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B341B2

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

Preview Lab → · Contrast checker → · Palette generator →

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