#B316A1#B316A1

#B316A1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.227 H 334.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B316A1
RGBrgb(179, 22, 161)
HSLhsl(307, 78%, 39%)
HSVhsv(307, 88%, 70%)
CMYKcmyk(0%, 87.7%, 10.1%, 29.8%)
CIE-LABlab(42.36, 70.14, -36.17)
CIE-LCHlch(42.36, 78.91, 332.72°)
OKLaboklab(53.35% 0.204 -0.0994)
OKLCHoklch(53.35% 0.227 334)
XYZxyz(25.3106, 12.7331, 34.8360)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B316A1 #16B328
analogous
#7716B3 #B316A1 #B31653
triadic
#B316A1 #A1B316 #16A1B3
tetradic
#B316A1 #B37716 #16B328 #1653B3
square
#B316A1 #B37716 #16B328 #1653B3
split-complementary
#B316A1 #53B316 #16B377
monochromatic
#46093F #7C0F70 #B316A1 #E422CE #EB59DA

Accessibility & contrast

On white

5.92
#B316A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B316A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B316A1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B316A1#FFFFFF#000000##FFFFFF
##B316A11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D56A4
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#BC2C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b316a1;
/* rgb */ color: rgb(179, 22, 161);
/* oklch */ color: oklch(53.4% 0.227 334.0);
Tailwind
colors: {
  custom: {
    50: '#ce6dbd',
    500: '#b316a1',
    950: '#000000',
  },
}
SCSS
$custom: #b316a1;
$custom-light: #ce6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b316a1",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 306.879,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.22692,
    "h": 334
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#B316A1
secondary
#57CE65
accent
#F54933
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B316A1

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

Preview Lab → · Contrast checker → · Palette generator →

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