#B341AA#B341AA

#B341AA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.191 H 331.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B341AA
RGBrgb(179, 65, 170)
HSLhsl(305, 47%, 48%)
HSVhsv(305, 64%, 70%)
CMYKcmyk(0%, 63.7%, 5%, 29.8%)
CIE-LABlab(47.32, 58.69, -33.70)
CIE-LCHlch(47.32, 67.68, 330.14°)
OKLaboklab(57.07% 0.1671 -0.0925)
OKLCHoklch(57.07% 0.191 331)
XYZxyz(27.7363, 16.2686, 39.7017)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341AA #41B34A
analogous
#8341B3 #B341AA #B34171
triadic
#B341AA #AAB341 #41AAB3
tetradic
#B341AA #B38341 #41B34A #4171B3
square
#B341AA #B38341 #41B34A #4171B3
split-complementary
#B341AA #71B341 #41B383
monochromatic
#592055 #86317F #B341AA #C869C1 #D996D3

Accessibility & contrast

On white

4.94
#B341AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B341AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341AA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341AA#FFFFFF#000000##FFFFFF
##B341AA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#BA4C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b341aa;
/* rgb */ color: rgb(179, 65, 170);
/* oklch */ color: oklch(57.1% 0.191 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ec3',
    500: '#b341aa',
    950: '#000000',
  },
}
SCSS
$custom: #b341aa;
$custom-light: #cd7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#b341aa",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 304.737,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.19098,
    "h": 331
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#B341AA
secondary
#8BC490
accent
#D65C51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B341AA

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

Preview Lab → · Contrast checker → · Palette generator →

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