#B921BD#B921BD

#B921BD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.242 H 327.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B921BD
RGBrgb(185, 33, 189)
HSLhsl(298, 70%, 44%)
HSVhsv(298, 83%, 74%)
CMYKcmyk(2.1%, 82.5%, 0%, 25.9%)
CIE-LABlab(45.74, 73.31, -47.31)
CIE-LCHlch(45.74, 87.25, 327.16°)
OKLaboklab(56.46% 0.2027 -0.1316)
OKLCHoklch(56.46% 0.242 327)
XYZxyz(29.7363, 15.0783, 49.4785)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B921BD #25BD21
analogous
#6B21BD #B921BD #BD2173
triadic
#B921BD #BDB921 #21BDB9
tetradic
#B921BD #BD6B21 #25BD21 #2173BD
square
#B921BD #BD6B21 #25BD21 #2173BD
split-complementary
#B921BD #73BD21 #21BD6B
monochromatic
#530F55 #861889 #B921BD #D93EDD #E372E6

Accessibility & contrast

On white

5.23
#B921BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B921BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B921BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B921BD#FFFFFF#000000##FFFFFF
##B921BD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b921bd;
/* rgb */ color: rgb(185, 33, 189);
/* oklch */ color: oklch(56.5% 0.242 327.0);
Tailwind
colors: {
  custom: {
    50: '#d272d1',
    500: '#b921bd',
    950: '#000000',
  },
}
SCSS
$custom: #b921bd;
$custom-light: #d272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b921bd",
  "rgb": {
    "r": 185,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 298.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.2417,
    "h": 327
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#B921BD
secondary
#6FCD6D
accent
#ED3B3F
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B921BD

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

Preview Lab → · Contrast checker → · Palette generator →

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