#B319A7#B319A7

#B319A7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 332.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B319A7
RGBrgb(179, 25, 167)
HSLhsl(305, 75%, 40%)
HSVhsv(305, 86%, 70%)
CMYKcmyk(0%, 86%, 6.7%, 29.8%)
CIE-LABlab(42.87, 70.46, -38.95)
CIE-LCHlch(42.87, 80.51, 331.07°)
OKLaboklab(53.82% 0.2024 -0.1074)
OKLCHoklch(53.82% 0.229 332)
XYZxyz(25.9132, 13.0713, 37.7100)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B319A7 #19B325
analogous
#7219B3 #B319A7 #B3195A
triadic
#B319A7 #A7B319 #19A7B3
tetradic
#B319A7 #B37219 #19B325 #195AB3
square
#B319A7 #B37219 #19B325 #195AB3
split-complementary
#B319A7 #5AB319 #19B372
monochromatic
#480A43 #7D1275 #B319A7 #E128D3 #E85EDE

Accessibility & contrast

On white

5.81
#B319A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B319A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B319A7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B319A7#FFFFFF#000000##FFFFFF
##B319A71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#536CA4
Tritanopia (blue-blind)
#BB3164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b319a7;
/* rgb */ color: rgb(179, 25, 167);
/* oklch */ color: oklch(53.8% 0.229 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce6ec1',
    500: '#b319a7',
    950: '#000000',
  },
}
SCSS
$custom: #b319a7;
$custom-light: #ce6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b319a7",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 304.675,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.22914,
    "h": 332
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#B319A7
secondary
#5BCC64
accent
#F24436
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B319A7

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

Preview Lab → · Contrast checker → · Palette generator →

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