#B341B0#B341B0

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

Color values

HEX#B341B0
RGBrgb(179, 65, 176)
HSLhsl(302, 47%, 48%)
HSVhsv(302, 64%, 70%)
CMYKcmyk(0%, 63.7%, 1.7%, 29.8%)
CIE-LABlab(47.62, 59.70, -36.76)
CIE-LCHlch(47.62, 70.11, 328.38°)
OKLaboklab(57.39% 0.1676 -0.1014)
OKLCHoklch(57.39% 0.196 328.8)
XYZxyz(28.3169, 16.5008, 42.7594)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B0 #41B344
analogous
#7D41B3 #B341B0 #B34177
triadic
#B341B0 #B0B341 #41B0B3
tetradic
#B341B0 #B37D41 #41B344 #4177B3
square
#B341B0 #B37D41 #41B344 #4177B3
split-complementary
#B341B0 #77B341 #41B37D
monochromatic
#592058 #863184 #B341B0 #C869C6 #D996D7

Accessibility & contrast

On white

4.88
#B341B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B341B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341B0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341B0#FFFFFF#000000##FFFFFF
##B341B01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#5E76AD
Tritanopia (blue-blind)
#B94F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b341b0;
/* rgb */ color: rgb(179, 65, 176);
/* oklch */ color: oklch(57.4% 0.196 328.8);
Tailwind
colors: {
  custom: {
    50: '#cd7ec8',
    500: '#b341b0',
    950: '#000000',
  },
}
SCSS
$custom: #b341b0;
$custom-light: #cd7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b0",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 301.579,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.19584,
    "h": 328.8
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#B341B0
secondary
#8BC48D
accent
#D65551
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B341B0

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

Preview Lab → · Contrast checker → · Palette generator →

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