#B321AD#B321AD

#B321AD is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.6% C 0.228 H 330.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B321AD
RGBrgb(179, 33, 173)
HSLhsl(302, 69%, 42%)
HSVhsv(302, 82%, 70%)
CMYKcmyk(0%, 81.6%, 3.4%, 29.8%)
CIE-LABlab(43.79, 69.67, -41.07)
CIE-LCHlch(43.79, 80.87, 329.48°)
OKLaboklab(54.58% 0.1974 -0.1136)
OKLCHoklch(54.58% 0.228 330.1)
XYZxyz(26.6770, 13.6907, 40.7646)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321AD #21B327
analogous
#7021B3 #B321AD #B32164
triadic
#B321AD #ADB321 #21ADB3
tetradic
#B321AD #B37021 #21B327 #2164B3
square
#B321AD #B37021 #21B327 #2164B3
split-complementary
#B321AD #64B321 #21B370
monochromatic
#4C0E49 #7F177B #B321AD #DA37D3 #E46BDF

Accessibility & contrast

On white

5.62
#B321AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B321AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321AD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321AD#FFFFFF#000000##FFFFFF
##B321AD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#BA3968
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b321ad;
/* rgb */ color: rgb(179, 33, 173);
/* oklch */ color: oklch(54.6% 0.228 330.1);
Tailwind
colors: {
  custom: {
    50: '#ce70c6',
    500: '#b321ad',
    950: '#000000',
  },
}
SCSS
$custom: #b321ad;
$custom-light: #ce70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b321ad",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 302.466,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.22774,
    "h": 330.1
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#B321AD
secondary
#66CA6A
accent
#EC433C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B321AD

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

Preview Lab → · Contrast checker → · Palette generator →

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