#B341B8#B341B8

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

Color values

HEX#B341B8
RGBrgb(179, 65, 184)
HSLhsl(297, 48%, 49%)
HSVhsv(297, 65%, 72%)
CMYKcmyk(2.7%, 64.7%, 0%, 27.8%)
CIE-LABlab(48.04, 61.08, -40.79)
CIE-LCHlch(48.04, 73.45, 326.26°)
OKLaboklab(57.82% 0.168 -0.113)
OKLCHoklch(57.82% 0.202 326.1)
XYZxyz(29.1319, 16.8268, 47.0516)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341B8 #46B841
analogous
#7841B8 #B341B8 #B84182
triadic
#B341B8 #B8B341 #41B8B3
tetradic
#B341B8 #B87841 #46B841 #4182B8
square
#B341B8 #B87841 #46B841 #4182B8
split-complementary
#B341B8 #82B841 #41B878
monochromatic
#5B215E #87318B #B341B8 #C76BCB #D899DB

Accessibility & contrast

On white

4.81
#B341B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B341B8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341B8#FFFFFF#000000##FFFFFF
##B341B81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#B75277
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b341b8;
/* rgb */ color: rgb(179, 65, 184);
/* oklch */ color: oklch(57.8% 0.202 326.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ece',
    500: '#b341b8',
    950: '#000000',
  },
}
SCSS
$custom: #b341b8;
$custom-light: #cd7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b341b8",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 297.479,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.20249,
    "h": 326.1
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#B341B8
secondary
#90C78E
accent
#D75056
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B341B8

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

Preview Lab → · Contrast checker → · Palette generator →

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