#BE21B8#BE21B8

#BE21B8 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.240 H 330.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BE21B8
RGBrgb(190, 33, 184)
HSLhsl(302, 70%, 44%)
HSVhsv(302, 83%, 75%)
CMYKcmyk(0%, 82.6%, 3.2%, 25.5%)
CIE-LABlab(46.31, 73.48, -43.43)
CIE-LCHlch(46.31, 85.36, 329.42°)
OKLaboklab(56.93% 0.2081 -0.1202)
OKLCHoklch(56.93% 0.24 330)
XYZxyz(30.4307, 15.4980, 46.7268)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21B8 #21BE27
analogous
#7521BE #BE21B8 #BE2169
triadic
#BE21B8 #B8BE21 #21B8BE
tetradic
#BE21B8 #BE7521 #21BE27 #2169BE
square
#BE21B8 #BE7521 #21BE27 #2169BE
split-complementary
#BE21B8 #69BE21 #21BE75
monochromatic
#560F53 #8A1886 #BE21B8 #DE3FD8 #E773E2

Accessibility & contrast

On white

5.12
#BE21B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BE21B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21B8#FFFFFF#000000##FFFFFF
##BE21B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#C53C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #be21b8;
/* rgb */ color: rgb(190, 33, 184);
/* oklch */ color: oklch(56.9% 0.240 330.0);
Tailwind
colors: {
  custom: {
    50: '#d673ce',
    500: '#be21b8',
    950: '#000000',
  },
}
SCSS
$custom: #be21b8;
$custom-light: #d673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#be21b8",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 184
  },
  "hsl": {
    "h": 302.293,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.24027,
    "h": 330
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#BE21B8
secondary
#6DCD71
accent
#ED413B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BE21B8

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

Preview Lab → · Contrast checker → · Palette generator →

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