#B321B0#B321B0

#B321B0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.230 H 329.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B321B0
RGBrgb(179, 33, 176)
HSLhsl(301, 69%, 42%)
HSVhsv(301, 82%, 70%)
CMYKcmyk(0%, 81.6%, 1.7%, 29.8%)
CIE-LABlab(43.96, 70.13, -42.57)
CIE-LCHlch(43.96, 82.04, 328.74°)
OKLaboklab(54.76% 0.1973 -0.118)
OKLCHoklch(54.76% 0.23 329.1)
XYZxyz(26.9705, 13.8081, 42.3106)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321B0 #21B324
analogous
#6D21B3 #B321B0 #B32167
triadic
#B321B0 #B0B321 #21B0B3
tetradic
#B321B0 #B36D21 #21B324 #2167B3
square
#B321B0 #B36D21 #21B324 #2167B3
split-complementary
#B321B0 #67B321 #21B36D
monochromatic
#4C0E4A #7F177D #B321B0 #DA37D7 #E46BE1

Accessibility & contrast

On white

5.58
#B321B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B321B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321B0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321B0#FFFFFF#000000##FFFFFF
##B321B01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#506EAD
Tritanopia (blue-blind)
#B93A6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b321b0;
/* rgb */ color: rgb(179, 33, 176);
/* oklch */ color: oklch(54.8% 0.230 329.1);
Tailwind
colors: {
  custom: {
    50: '#ce70c8',
    500: '#b321b0',
    950: '#000000',
  },
}
SCSS
$custom: #b321b0;
$custom-light: #ce70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b321b0",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 301.233,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.22988,
    "h": 329.1
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#B321B0
secondary
#66CA68
accent
#EC403C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B321B0

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

Preview Lab → · Contrast checker → · Palette generator →

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