#B416A8#B416A8

#B416A8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.232 H 332.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B416A8
RGBrgb(180, 22, 168)
HSLhsl(305, 78%, 40%)
HSVhsv(305, 88%, 71%)
CMYKcmyk(0%, 87.8%, 6.7%, 29.4%)
CIE-LABlab(42.92, 71.33, -39.45)
CIE-LCHlch(42.92, 81.51, 331.05°)
OKLaboklab(53.91% 0.2049 -0.1088)
OKLCHoklch(53.91% 0.232 332)
XYZxyz(26.1773, 13.1066, 38.1893)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B416A8 #16B422
analogous
#7116B4 #B416A8 #B41659
triadic
#B416A8 #A8B416 #16A8B4
tetradic
#B416A8 #B47116 #16B422 #1659B4
square
#B416A8 #B47116 #16B422 #1659B4
split-complementary
#B416A8 #59B416 #16B471
monochromatic
#470942 #7D0F75 #B416A8 #E423D5 #EB5AE0

Accessibility & contrast

On white

5.80
#B416A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B416A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B416A8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B416A8#FFFFFF#000000##FFFFFF
##B416A81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#526DA5
Tritanopia (blue-blind)
#BC3064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b416a8;
/* rgb */ color: rgb(180, 22, 168);
/* oklch */ color: oklch(53.9% 0.232 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf6dc2',
    500: '#b416a8',
    950: '#000000',
  },
}
SCSS
$custom: #b416a8;
$custom-light: #cf6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b416a8",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 168
  },
  "hsl": {
    "h": 304.557,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.232,
    "h": 332
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#B416A8
secondary
#58CE61
accent
#F54233
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140812
muted
#837B81

Preview Lab

Preview with #B416A8

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

Preview Lab → · Contrast checker → · Palette generator →

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