#B416A7#B416A7

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

Color values

HEX#B416A7
RGBrgb(180, 22, 167)
HSLhsl(305, 78%, 40%)
HSVhsv(305, 88%, 71%)
CMYKcmyk(0%, 87.8%, 7.2%, 29.4%)
CIE-LABlab(42.87, 71.19, -38.94)
CIE-LCHlch(42.87, 81.14, 331.32°)
OKLaboklab(53.85% 0.2049 -0.1074)
OKLCHoklch(53.85% 0.231 332.3)
XYZxyz(26.0845, 13.0695, 37.7006)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B416A7 #16B423
analogous
#7216B4 #B416A7 #B41658
triadic
#B416A7 #A7B416 #16A7B4
tetradic
#B416A7 #B47216 #16B423 #1658B4
square
#B416A7 #B47216 #16B423 #1658B4
split-complementary
#B416A7 #58B416 #16B472
monochromatic
#470942 #7D0F74 #B416A7 #E423D4 #EB5ADF

Accessibility & contrast

On white

5.81
#B416A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B416A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B416A7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B416A7#FFFFFF#000000##FFFFFF
##B416A71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#536DA4
Tritanopia (blue-blind)
#BC2F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b416a7;
/* rgb */ color: rgb(180, 22, 167);
/* oklch */ color: oklch(53.9% 0.231 332.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dc1',
    500: '#b416a7',
    950: '#000000',
  },
}
SCSS
$custom: #b416a7;
$custom-light: #cf6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b416a7",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 167
  },
  "hsl": {
    "h": 304.937,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.23135,
    "h": 332.3
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#B416A7
secondary
#58CE61
accent
#F54333
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B416A7

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

Preview Lab → · Contrast checker → · Palette generator →

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