#B321BD#B321BD

#B321BD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.5% C 0.239 H 325.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B321BD
RGBrgb(179, 33, 189)
HSLhsl(296, 70%, 44%)
HSVhsv(296, 83%, 74%)
CMYKcmyk(5.3%, 82.5%, 0%, 25.9%)
CIE-LABlab(44.73, 72.20, -48.99)
CIE-LCHlch(44.73, 87.25, 325.84°)
OKLaboklab(55.55% 0.1964 -0.1367)
OKLCHoklch(55.55% 0.239 325.2)
XYZxyz(28.3189, 14.3475, 49.4120)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321BD #2BBD21
analogous
#6521BD #B321BD #BD2179
triadic
#B321BD #BDB321 #21BDB3
tetradic
#B321BD #BD6521 #2BBD21 #2179BD
square
#B321BD #BD6521 #2BBD21 #2179BD
split-complementary
#B321BD #79BD21 #21BD65
monochromatic
#500F55 #821889 #B321BD #D33EDD #DF72E6

Accessibility & contrast

On white

5.43
#B321BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B321BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321BD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321BD#FFFFFF#000000##FFFFFF
##B321BD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#B74272
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b321bd;
/* rgb */ color: rgb(179, 33, 189);
/* oklch */ color: oklch(55.5% 0.239 325.2);
Tailwind
colors: {
  custom: {
    50: '#ce71d1',
    500: '#b321bd',
    950: '#000000',
  },
}
SCSS
$custom: #b321bd;
$custom-light: #ce71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b321bd",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 296.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.23928,
    "h": 325.2
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#B321BD
secondary
#73CD6D
accent
#ED3B46
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B321BD

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

Preview Lab → · Contrast checker → · Palette generator →

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