#B341C6#B341C6

#B341C6 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.214 H 321.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B341C6
RGBrgb(179, 65, 198)
HSLhsl(291, 54%, 52%)
HSVhsv(291, 67%, 78%)
CMYKcmyk(9.6%, 67.2%, 0%, 22.4%)
CIE-LABlab(48.81, 63.59, -47.69)
CIE-LCHlch(48.81, 79.49, 323.13°)
OKLaboklab(58.63% 0.1681 -0.1331)
OKLCHoklch(58.63% 0.214 321.6)
XYZxyz(30.6726, 17.4431, 55.1664)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341C6 #54C641
analogous
#7141C6 #B341C6 #C64196
triadic
#B341C6 #C6B341 #41C6B3
tetradic
#B341C6 #C67141 #54C641 #4196C6
square
#B341C6 #C67141 #54C641 #4196C6
split-complementary
#B341C6 #96C641 #41C671
monochromatic
#61206C #8C2F9B #B341C6 #C670D4 #D99FE2

Accessibility & contrast

On white

4.68
#B341C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B341C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341C6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341C6#FFFFFF#000000##FFFFFF
##B341C61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCA
Deuteranopia (green-blind)
#5178C3
Tritanopia (blue-blind)
#B5587E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b341c6;
/* rgb */ color: rgb(179, 65, 198);
/* oklch */ color: oklch(58.6% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#cd7fd8',
    500: '#b341c6',
    950: '#000000',
  },
}
SCSS
$custom: #b341c6;
$custom-light: #cd7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b341c6",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.21445,
    "h": 321.6
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#B341C6
secondary
#9DCF94
accent
#DD4B60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B341C6

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

Preview Lab → · Contrast checker → · Palette generator →

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