#B320A7#B320A7

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

Color values

HEX#B320A7
RGBrgb(179, 32, 167)
HSLhsl(305, 70%, 41%)
HSVhsv(305, 82%, 70%)
CMYKcmyk(0%, 82.1%, 6.7%, 29.8%)
CIE-LABlab(43.37, 69.00, -38.15)
CIE-LCHlch(43.37, 78.84, 331.06°)
OKLaboklab(54.18% 0.1981 -0.1051)
OKLCHoklch(54.18% 0.224 332)
XYZxyz(26.0821, 13.4090, 37.7663)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B320A7 #20B32C
analogous
#7620B3 #B320A7 #B3205E
triadic
#B320A7 #A7B320 #20A7B3
tetradic
#B320A7 #B37620 #20B32C #205EB3
square
#B320A7 #B37620 #20B32C #205EB3
split-complementary
#B320A7 #5EB320 #20B376
monochromatic
#4B0D46 #7F1777 #B320A7 #DB35CD #E469DA

Accessibility & contrast

On white

5.70
#B320A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B320A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B320A7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B320A7#FFFFFF#000000##FFFFFF
##B320A71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#556DA4
Tritanopia (blue-blind)
#BB3565
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b320a7;
/* rgb */ color: rgb(179, 32, 167);
/* oklch */ color: oklch(54.2% 0.224 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce70c1',
    500: '#b320a7',
    950: '#000000',
  },
}
SCSS
$custom: #b320a7;
$custom-light: #ce70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b320a7",
  "rgb": {
    "r": 179,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 304.898,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.22431,
    "h": 332
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#B320A7
secondary
#65CA6D
accent
#EC4A3B
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B320A7

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

Preview Lab → · Contrast checker → · Palette generator →

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