#B416A2#B416A2

#B416A2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.228 H 334.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B416A2
RGBrgb(180, 22, 162)
HSLhsl(307, 78%, 40%)
HSVhsv(307, 88%, 71%)
CMYKcmyk(0%, 87.8%, 10%, 29.4%)
CIE-LABlab(42.59, 70.47, -36.39)
CIE-LCHlch(42.59, 79.31, 332.69°)
OKLaboklab(53.57% 0.205 -0.1)
OKLCHoklch(53.57% 0.228 334)
XYZxyz(25.6312, 12.8881, 35.3132)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B416A2 #16B428
analogous
#7716B4 #B416A2 #B41653
triadic
#B416A2 #A2B416 #16A2B4
tetradic
#B416A2 #B47716 #16B428 #1653B4
square
#B416A2 #B47716 #16B428 #1653B4
split-complementary
#B416A2 #53B416 #16B477
monochromatic
#470940 #7D0F71 #B416A2 #E423CE #EB5ADA

Accessibility & contrast

On white

5.87
#B416A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B416A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B416A2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B416A2#FFFFFF#000000##FFFFFF
##B416A21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#BD2C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b416a2;
/* rgb */ color: rgb(180, 22, 162);
/* oklch */ color: oklch(53.6% 0.228 334.0);
Tailwind
colors: {
  custom: {
    50: '#cf6dbe',
    500: '#b416a2',
    950: '#000000',
  },
}
SCSS
$custom: #b416a2;
$custom-light: #cf6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b416a2",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 162
  },
  "hsl": {
    "h": 306.835,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.22803,
    "h": 334
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#B416A2
secondary
#58CE65
accent
#F54933
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B416A2

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

Preview Lab → · Contrast checker → · Palette generator →

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