#B321A6#B321A6

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

Color values

HEX#B321A6
RGBrgb(179, 33, 166)
HSLhsl(305, 69%, 42%)
HSVhsv(305, 82%, 70%)
CMYKcmyk(0%, 81.6%, 7.3%, 29.8%)
CIE-LABlab(43.40, 68.61, -37.52)
CIE-LCHlch(43.40, 78.20, 331.33°)
OKLaboklab(54.18% 0.1974 -0.1033)
OKLCHoklch(54.18% 0.223 332.4)
XYZxyz(26.0173, 13.4269, 37.2904)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321A6 #21B32E
analogous
#7721B3 #B321A6 #B3215D
triadic
#B321A6 #A6B321 #21A6B3
tetradic
#B321A6 #B37721 #21B32E #215DB3
square
#B321A6 #B37721 #21B32E #215DB3
split-complementary
#B321A6 #5DB321 #21B377
monochromatic
#4C0E46 #7F1776 #B321A6 #DA37CC #E46BD9

Accessibility & contrast

On white

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

On black

3.69
#B321A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B321A6#FFFFFF#000000##FFFFFF
##B321A61.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AA9
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#BB3564
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b321a6;
/* rgb */ color: rgb(179, 33, 166);
/* oklch */ color: oklch(54.2% 0.223 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce70c1',
    500: '#b321a6',
    950: '#000000',
  },
}
SCSS
$custom: #b321a6;
$custom-light: #ce70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b321a6",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 305.342,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.22284,
    "h": 332.4
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#B321A6
secondary
#66CA6F
accent
#EC4C3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B321A6

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

Preview Lab → · Contrast checker → · Palette generator →

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