#B341A2#B341A2

#B341A2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.185 H 334.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B341A2
RGBrgb(179, 65, 162)
HSLhsl(309, 47%, 48%)
HSVhsv(309, 64%, 70%)
CMYKcmyk(0%, 63.7%, 9.5%, 29.8%)
CIE-LABlab(46.94, 57.39, -29.57)
CIE-LCHlch(46.94, 64.56, 332.74°)
OKLaboklab(56.67% 0.1662 -0.0807)
OKLCHoklch(56.67% 0.185 334.1)
XYZxyz(27.0024, 15.9751, 35.8367)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341A2 #41B352
analogous
#8B41B3 #B341A2 #B34169
triadic
#B341A2 #A2B341 #41A2B3
tetradic
#B341A2 #B38B41 #41B352 #4169B3
square
#B341A2 #B38B41 #41B352 #4169B3
split-complementary
#B341A2 #69B341 #41B38B
monochromatic
#592051 #863179 #B341A2 #C869BA #D996CF

Accessibility & contrast

On white

5.01
#B341A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B341A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341A2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341A2#FFFFFF#000000##FFFFFF
##B341A21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#BB496B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b341a2;
/* rgb */ color: rgb(179, 65, 162);
/* oklch */ color: oklch(56.7% 0.185 334.1);
Tailwind
colors: {
  custom: {
    50: '#cd7dbe',
    500: '#b341a2',
    950: '#000000',
  },
}
SCSS
$custom: #b341a2;
$custom-light: #cd7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b341a2",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 308.947,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.18471,
    "h": 334.1
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#B341A2
secondary
#8BC494
accent
#D66551
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B341A2

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

Preview Lab → · Contrast checker → · Palette generator →

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