#B821BD#B821BD

#B821BD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.241 H 326.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B821BD
RGBrgb(184, 33, 189)
HSLhsl(298, 70%, 44%)
HSVhsv(298, 83%, 74%)
CMYKcmyk(2.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(45.57, 73.12, -47.59)
CIE-LCHlch(45.57, 87.24, 326.94°)
OKLaboklab(56.31% 0.2017 -0.1325)
OKLCHoklch(56.31% 0.241 326.7)
XYZxyz(29.4958, 14.9543, 49.4672)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B821BD #26BD21
analogous
#6A21BD #B821BD #BD2174
triadic
#B821BD #BDB821 #21BDB8
tetradic
#B821BD #BD6A21 #26BD21 #2174BD
square
#B821BD #BD6A21 #26BD21 #2174BD
split-complementary
#B821BD #74BD21 #21BD6A
monochromatic
#530F55 #851889 #B821BD #D83EDD #E372E6

Accessibility & contrast

On white

5.26
#B821BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B821BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B821BD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B821BD#FFFFFF#000000##FFFFFF
##B821BD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#BD4072
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b821bd;
/* rgb */ color: rgb(184, 33, 189);
/* oklch */ color: oklch(56.3% 0.241 326.7);
Tailwind
colors: {
  custom: {
    50: '#d272d1',
    500: '#b821bd',
    950: '#000000',
  },
}
SCSS
$custom: #b821bd;
$custom-light: #d272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b821bd",
  "rgb": {
    "r": 184,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 298.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.24129,
    "h": 326.7
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#B821BD
secondary
#70CD6D
accent
#ED3B40
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B821BD

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

Preview Lab → · Contrast checker → · Palette generator →

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