#B341C4#B341C4

#B341C4 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.213 H 322.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B341C4
RGBrgb(179, 65, 196)
HSLhsl(292, 53%, 51%)
HSVhsv(292, 67%, 77%)
CMYKcmyk(8.7%, 66.8%, 0%, 23.1%)
CIE-LABlab(48.70, 63.22, -46.72)
CIE-LCHlch(48.70, 78.61, 323.54°)
OKLaboklab(58.51% 0.1682 -0.1303)
OKLCHoklch(58.51% 0.213 322.2)
XYZxyz(30.4435, 17.3515, 53.9595)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341C4 #52C441
analogous
#7141C4 #B341C4 #C44193
triadic
#B341C4 #C4B341 #41C4B3
tetradic
#B341C4 #C47141 #52C441 #4193C4
square
#B341C4 #C47141 #52C441 #4193C4
split-complementary
#B341C4 #93C441 #41C471
monochromatic
#60216A #8B2F98 #B341C4 #C670D3 #D89EE1

Accessibility & contrast

On white

4.70
#B341C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B341C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341C4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341C4#FFFFFF#000000##FFFFFF
##B341C41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC8
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#B5577D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b341c4;
/* rgb */ color: rgb(179, 65, 196);
/* oklch */ color: oklch(58.5% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ed6',
    500: '#b341c4',
    950: '#000000',
  },
}
SCSS
$custom: #b341c4;
$custom-light: #cd7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b341c4",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 292.214,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.21272,
    "h": 322.2
  },
  "luminance": 0.1735
}

Semantic roles & 50–950 ramp

primary
#B341C4
secondary
#9BCD93
accent
#DC4C5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B341C4

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

Preview Lab → · Contrast checker → · Palette generator →

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