#B321AE#B321AE

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

Color values

HEX#B321AE
RGBrgb(179, 33, 174)
HSLhsl(302, 69%, 42%)
HSVhsv(302, 82%, 70%)
CMYKcmyk(0%, 81.6%, 2.8%, 29.8%)
CIE-LABlab(43.84, 69.82, -41.57)
CIE-LCHlch(43.84, 81.26, 329.23°)
OKLaboklab(54.64% 0.1974 -0.1151)
OKLCHoklch(54.64% 0.228 329.8)
XYZxyz(26.7741, 13.7296, 41.2761)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321AE #21B326
analogous
#6F21B3 #B321AE #B32165
triadic
#B321AE #AEB321 #21AEB3
tetradic
#B321AE #B36F21 #21B326 #2165B3
square
#B321AE #B36F21 #21B326 #2165B3
split-complementary
#B321AE #65B321 #21B36F
monochromatic
#4C0E4A #7F177C #B321AE #DA37D5 #E46BE0

Accessibility & contrast

On white

5.61
#B321AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B321AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321AE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321AE#FFFFFF#000000##FFFFFF
##B321AE1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#BA3969
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b321ae;
/* rgb */ color: rgb(179, 33, 174);
/* oklch */ color: oklch(54.6% 0.228 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce70c7',
    500: '#b321ae',
    950: '#000000',
  },
}
SCSS
$custom: #b321ae;
$custom-light: #ce70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b321ae",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 302.055,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.22845,
    "h": 329.8
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B321AE

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

Preview Lab → · Contrast checker → · Palette generator →

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