#B319A2#B319A2

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

Color values

HEX#B319A2
RGBrgb(179, 25, 162)
HSLhsl(307, 75%, 40%)
HSVhsv(307, 86%, 70%)
CMYKcmyk(0%, 86%, 9.5%, 29.8%)
CIE-LABlab(42.60, 69.74, -36.39)
CIE-LCHlch(42.60, 78.66, 332.44°)
OKLaboklab(53.54% 0.2024 -0.1)
OKLCHoklch(53.54% 0.226 333.7)
XYZxyz(25.4599, 12.8899, 35.3225)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B319A2 #19B32A
analogous
#7719B3 #B319A2 #B31955
triadic
#B319A2 #A2B319 #19A2B3
tetradic
#B319A2 #B37719 #19B32A #1955B3
square
#B319A2 #B37719 #19B32A #1955B3
split-complementary
#B319A2 #55B319 #19B377
monochromatic
#480A41 #7D1271 #B319A2 #E128CD #E85ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B319A2#FFFFFF#000000##FFFFFF
##B319A21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#BC2E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b319a2;
/* rgb */ color: rgb(179, 25, 162);
/* oklch */ color: oklch(53.5% 0.226 333.7);
Tailwind
colors: {
  custom: {
    50: '#ce6ebe',
    500: '#b319a2',
    950: '#000000',
  },
}
SCSS
$custom: #b319a2;
$custom-light: #ce6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b319a2",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 162
  },
  "hsl": {
    "h": 306.623,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.22579,
    "h": 333.7
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#B319A2
secondary
#5BCC68
accent
#F24B36
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B319A2

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

Preview Lab → · Contrast checker → · Palette generator →

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