#B316A0#B316A0

#B316A0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.226 H 334.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B316A0
RGBrgb(179, 22, 160)
HSLhsl(307, 78%, 39%)
HSVhsv(307, 88%, 70%)
CMYKcmyk(0%, 87.7%, 10.6%, 29.8%)
CIE-LABlab(42.30, 70.00, -35.66)
CIE-LCHlch(42.30, 78.55, 333.01°)
OKLaboklab(53.3% 0.204 -0.0979)
OKLCHoklch(53.3% 0.226 334.4)
XYZxyz(25.2228, 12.6980, 34.3735)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B316A0 #16B329
analogous
#7816B3 #B316A0 #B31652
triadic
#B316A0 #A0B316 #16A0B3
tetradic
#B316A0 #B37816 #16B329 #1652B3
square
#B316A0 #B37816 #16B329 #1652B3
split-complementary
#B316A0 #52B316 #16B378
monochromatic
#46093F #7C0F6F #B316A0 #E422CC #EB59D9

Accessibility & contrast

On white

5.93
#B316A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B316A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B316A0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B316A0#FFFFFF#000000##FFFFFF
##B316A01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A3
Deuteranopia (green-blind)
#566B9D
Tritanopia (blue-blind)
#BC2B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b316a0;
/* rgb */ color: rgb(179, 22, 160);
/* oklch */ color: oklch(53.3% 0.226 334.4);
Tailwind
colors: {
  custom: {
    50: '#ce6dbc',
    500: '#b316a0',
    950: '#000000',
  },
}
SCSS
$custom: #b316a0;
$custom-light: #ce6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b316a0",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 307.261,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.22627,
    "h": 334.4
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B316A0

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

Preview Lab → · Contrast checker → · Palette generator →

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