#BE21B6#BE21B6

#BE21B6 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.239 H 330.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BE21B6
RGBrgb(190, 33, 182)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 83%, 75%)
CMYKcmyk(0%, 82.6%, 4.2%, 25.5%)
CIE-LABlab(46.20, 73.18, -42.43)
CIE-LCHlch(46.20, 84.59, 329.89°)
OKLaboklab(56.81% 0.2081 -0.1173)
OKLCHoklch(56.81% 0.239 330.6)
XYZxyz(30.2225, 15.4148, 45.6305)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21B6 #21BE29
analogous
#7721BE #BE21B6 #BE2167
triadic
#BE21B6 #B6BE21 #21B6BE
tetradic
#BE21B6 #BE7721 #21BE29 #2167BE
square
#BE21B6 #BE7721 #21BE29 #2167BE
split-complementary
#BE21B6 #67BE21 #21BE77
monochromatic
#560F52 #8A1884 #BE21B6 #DE3FD5 #E773E1

Accessibility & contrast

On white

5.14
#BE21B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BE21B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21B6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21B6#FFFFFF#000000##FFFFFF
##BE21B61.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#5775B2
Tritanopia (blue-blind)
#C63A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #be21b6;
/* rgb */ color: rgb(190, 33, 182);
/* oklch */ color: oklch(56.8% 0.239 330.6);
Tailwind
colors: {
  custom: {
    50: '#d672cc',
    500: '#be21b6',
    950: '#000000',
  },
}
SCSS
$custom: #be21b6;
$custom-light: #d672cc;
$custom-dark: #000000;
JSON
{
  "hex": "#be21b6",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 182
  },
  "hsl": {
    "h": 303.057,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.23889,
    "h": 330.6
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#BE21B6
secondary
#6DCD72
accent
#ED443B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BE21B6

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

Preview Lab → · Contrast checker → · Palette generator →

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