#B341B1#B341B1

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

Color values

HEX#B341B1
RGBrgb(179, 65, 177)
HSLhsl(301, 47%, 48%)
HSVhsv(301, 64%, 70%)
CMYKcmyk(0%, 63.7%, 1.1%, 29.8%)
CIE-LABlab(47.68, 59.87, -37.27)
CIE-LCHlch(47.68, 70.52, 328.10°)
OKLaboklab(57.44% 0.1676 -0.1028)
OKLCHoklch(57.44% 0.197 328.5)
XYZxyz(28.4162, 16.5406, 43.2824)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B1 #41B343
analogous
#7C41B3 #B341B1 #B34178
triadic
#B341B1 #B1B341 #41B1B3
tetradic
#B341B1 #B37C41 #41B343 #4178B3
square
#B341B1 #B37C41 #41B343 #4178B3
split-complementary
#B341B1 #78B341 #41B37C
monochromatic
#592058 #863185 #B341B1 #C869C7 #D996D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B341B1#FFFFFF#000000##FFFFFF
##B341B11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#5E76AE
Tritanopia (blue-blind)
#B94F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b341b1;
/* rgb */ color: rgb(179, 65, 177);
/* oklch */ color: oklch(57.4% 0.197 328.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ec9',
    500: '#b341b1',
    950: '#000000',
  },
}
SCSS
$custom: #b341b1;
$custom-light: #cd7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b1",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 301.053,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.19666,
    "h": 328.5
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B341B1

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

Preview Lab → · Contrast checker → · Palette generator →

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