#B316A5#B316A5

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

Color values

HEX#B316A5
RGBrgb(179, 22, 165)
HSLhsl(305, 78%, 39%)
HSVhsv(305, 88%, 70%)
CMYKcmyk(0%, 87.7%, 7.8%, 29.8%)
CIE-LABlab(42.58, 70.71, -38.22)
CIE-LCHlch(42.58, 80.38, 331.61°)
OKLaboklab(53.58% 0.204 -0.1053)
OKLCHoklch(53.58% 0.23 332.7)
XYZxyz(25.6690, 12.8764, 36.7235)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B316A5 #16B324
analogous
#7216B3 #B316A5 #B31657
triadic
#B316A5 #A5B316 #16A5B3
tetradic
#B316A5 #B37216 #16B324 #1657B3
square
#B316A5 #B37216 #16B324 #1657B3
split-complementary
#B316A5 #57B316 #16B372
monochromatic
#460941 #7C0F73 #B316A5 #E422D3 #EB59DE

Accessibility & contrast

On white

5.87
#B316A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B316A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B316A5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B316A5#FFFFFF#000000##FFFFFF
##B316A51.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#BB2E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b316a5;
/* rgb */ color: rgb(179, 22, 165);
/* oklch */ color: oklch(53.6% 0.230 332.7);
Tailwind
colors: {
  custom: {
    50: '#ce6dc0',
    500: '#b316a5',
    950: '#000000',
  },
}
SCSS
$custom: #b316a5;
$custom-light: #ce6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b316a5",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 305.35,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.22957,
    "h": 332.7
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#B316A5
secondary
#57CE62
accent
#F54433
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B316A5

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

Preview Lab → · Contrast checker → · Palette generator →

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