#B320A1#B320A1

#B320A1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.220 H 334.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B320A1
RGBrgb(179, 32, 161)
HSLhsl(307, 70%, 41%)
HSVhsv(307, 82%, 70%)
CMYKcmyk(0%, 82.1%, 10.1%, 29.8%)
CIE-LABlab(43.05, 68.12, -35.08)
CIE-LCHlch(43.05, 76.62, 332.75°)
OKLaboklab(53.85% 0.1981 -0.0963)
OKLCHoklch(53.85% 0.22 334.1)
XYZxyz(25.5402, 13.1923, 34.9126)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B320A1 #20B332
analogous
#7C20B3 #B320A1 #B32058
triadic
#B320A1 #A1B320 #20A1B3
tetradic
#B320A1 #B37C20 #20B332 #2058B3
square
#B320A1 #B37C20 #20B332 #2058B3
split-complementary
#B320A1 #58B320 #20B37C
monochromatic
#4B0D44 #7F1772 #B320A1 #DB35C7 #E469D5

Accessibility & contrast

On white

5.77
#B320A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B320A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B320A1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B320A1#FFFFFF#000000##FFFFFF
##B320A11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#BC3161
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b320a1;
/* rgb */ color: rgb(179, 32, 161);
/* oklch */ color: oklch(53.8% 0.220 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce70bd',
    500: '#b320a1',
    950: '#000000',
  },
}
SCSS
$custom: #b320a1;
$custom-light: #ce70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b320a1",
  "rgb": {
    "r": 179,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 307.347,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.2202,
    "h": 334.1
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#B320A1
secondary
#65CA71
accent
#EC513B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B320A1

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

Preview Lab → · Contrast checker → · Palette generator →

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