#B320A6#B320A6

#B320A6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.224 H 332.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B320A6
RGBrgb(179, 32, 166)
HSLhsl(305, 70%, 41%)
HSVhsv(305, 82%, 70%)
CMYKcmyk(0%, 82.1%, 7.3%, 29.8%)
CIE-LABlab(43.32, 68.85, -37.64)
CIE-LCHlch(43.32, 78.47, 331.33°)
OKLaboklab(54.12% 0.1981 -0.1037)
OKLCHoklch(54.12% 0.224 332.4)
XYZxyz(25.9900, 13.3722, 37.2813)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B320A6 #20B32D
analogous
#7720B3 #B320A6 #B3205D
triadic
#B320A6 #A6B320 #20A6B3
tetradic
#B320A6 #B37720 #20B32D #205DB3
square
#B320A6 #B37720 #20B32D #205DB3
split-complementary
#B320A6 #5DB320 #20B377
monochromatic
#4B0D46 #7F1776 #B320A6 #DB35CC #E469D9

Accessibility & contrast

On white

5.72
#B320A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B320A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B320A6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B320A6#FFFFFF#000000##FFFFFF
##B320A61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#BB3464
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b320a6;
/* rgb */ color: rgb(179, 32, 166);
/* oklch */ color: oklch(54.1% 0.224 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce70c1',
    500: '#b320a6',
    950: '#000000',
  },
}
SCSS
$custom: #b320a6;
$custom-light: #ce70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b320a6",
  "rgb": {
    "r": 179,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 305.306,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.22362,
    "h": 332.4
  },
  "luminance": 0.1337
}

Semantic roles & 50–950 ramp

primary
#B320A6
secondary
#65CA6E
accent
#EC4B3B
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B320A6

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

Preview Lab → · Contrast checker → · Palette generator →

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