#B316A6#B316A6

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

Color values

HEX#B316A6
RGBrgb(179, 22, 166)
HSLhsl(305, 78%, 39%)
HSVhsv(305, 88%, 70%)
CMYKcmyk(0%, 87.7%, 7.3%, 29.8%)
CIE-LABlab(42.63, 70.85, -38.73)
CIE-LCHlch(42.63, 80.75, 331.34°)
OKLaboklab(53.64% 0.204 -0.1068)
OKLCHoklch(53.64% 0.23 332.4)
XYZxyz(25.7604, 12.9130, 37.2047)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B316A6 #16B323
analogous
#7216B3 #B316A6 #B31658
triadic
#B316A6 #A6B316 #16A6B3
tetradic
#B316A6 #B37216 #16B323 #1658B3
square
#B316A6 #B37216 #16B323 #1658B3
split-complementary
#B316A6 #58B316 #16B372
monochromatic
#460941 #7C0F73 #B316A6 #E422D4 #EB59DF

Accessibility & contrast

On white

5.86
#B316A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B316A6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B316A6#FFFFFF#000000##FFFFFF
##B316A61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#536CA3
Tritanopia (blue-blind)
#BB2F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b316a6;
/* rgb */ color: rgb(179, 22, 166);
/* oklch */ color: oklch(53.6% 0.230 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce6dc1',
    500: '#b316a6',
    950: '#000000',
  },
}
SCSS
$custom: #b316a6;
$custom-light: #ce6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b316a6",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 166
  },
  "hsl": {
    "h": 304.968,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.23024,
    "h": 332.4
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B316A6

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

Preview Lab → · Contrast checker → · Palette generator →

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