#B341B7#B341B7

#B341B7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.202 H 326.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B341B7
RGBrgb(179, 65, 183)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 64%, 72%)
CMYKcmyk(2.2%, 64.5%, 0%, 28.2%)
CIE-LABlab(47.99, 60.90, -40.29)
CIE-LCHlch(47.99, 73.02, 326.51°)
OKLaboklab(57.77% 0.168 -0.1116)
OKLCHoklch(57.77% 0.202 326.4)
XYZxyz(29.0274, 16.7850, 46.5015)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B7 #45B741
analogous
#7841B7 #B341B7 #B74180
triadic
#B341B7 #B7B341 #41B7B3
tetradic
#B341B7 #B77841 #45B741 #4180B7
square
#B341B7 #B77841 #45B741 #4180B7
split-complementary
#B341B7 #80B741 #41B778
monochromatic
#5B215D #87318A #B341B7 #C76BCA #D898DA

Accessibility & contrast

On white

4.82
#B341B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B341B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341B7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341B7#FFFFFF#000000##FFFFFF
##B341B71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#B85276
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b341b7;
/* rgb */ color: rgb(179, 65, 183);
/* oklch */ color: oklch(57.8% 0.202 326.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ecd',
    500: '#b341b7',
    950: '#000000',
  },
}
SCSS
$custom: #b341b7;
$custom-light: #cd7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b7",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 297.966,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.20165,
    "h": 326.4
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#B341B7
secondary
#8FC68E
accent
#D75155
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B341B7

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

Preview Lab → · Contrast checker → · Palette generator →

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