#B416A5#B416A5

#B416A5 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.230 H 333.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B416A5
RGBrgb(180, 22, 165)
HSLhsl(306, 78%, 40%)
HSVhsv(306, 88%, 71%)
CMYKcmyk(0%, 87.8%, 8.3%, 29.4%)
CIE-LABlab(42.76, 70.90, -37.92)
CIE-LCHlch(42.76, 80.40, 331.86°)
OKLaboklab(53.74% 0.2049 -0.1044)
OKLCHoklch(53.74% 0.23 333)
XYZxyz(25.9010, 12.9961, 36.7344)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B416A5 #16B425
analogous
#7416B4 #B416A5 #B41656
triadic
#B416A5 #A5B416 #16A5B4
tetradic
#B416A5 #B47416 #16B425 #1656B4
square
#B416A5 #B47416 #16B425 #1656B4
split-complementary
#B416A5 #56B416 #16B474
monochromatic
#470941 #7D0F73 #B416A5 #E423D2 #EB5ADD

Accessibility & contrast

On white

5.84
#B416A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B416A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B416A5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B416A5#FFFFFF#000000##FFFFFF
##B416A51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#546CA2
Tritanopia (blue-blind)
#BC2E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b416a5;
/* rgb */ color: rgb(180, 22, 165);
/* oklch */ color: oklch(53.7% 0.230 333.0);
Tailwind
colors: {
  custom: {
    50: '#cf6dc0',
    500: '#b416a5',
    950: '#000000',
  },
}
SCSS
$custom: #b416a5;
$custom-light: #cf6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b416a5",
  "rgb": {
    "r": 180,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 305.696,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.23,
    "h": 333
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#B416A5
secondary
#58CE63
accent
#F54533
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B416A5

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

Preview Lab → · Contrast checker → · Palette generator →

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