#BE21B7#BE21B7

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

Color values

HEX#BE21B7
RGBrgb(190, 33, 183)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 83%, 75%)
CMYKcmyk(0%, 82.6%, 3.7%, 25.5%)
CIE-LABlab(46.25, 73.33, -42.93)
CIE-LCHlch(46.25, 84.97, 329.65°)
OKLaboklab(56.87% 0.2081 -0.1187)
OKLCHoklch(56.87% 0.24 330.3)
XYZxyz(30.3262, 15.4563, 46.1767)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21B7 #21BE28
analogous
#7621BE #BE21B7 #BE2168
triadic
#BE21B7 #B7BE21 #21B7BE
tetradic
#BE21B7 #BE7621 #21BE28 #2168BE
square
#BE21B7 #BE7621 #21BE28 #2168BE
split-complementary
#BE21B7 #68BE21 #21BE76
monochromatic
#560F53 #8A1885 #BE21B7 #DE3FD6 #E773E1

Accessibility & contrast

On white

5.13
#BE21B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BE21B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21B7#FFFFFF#000000##FFFFFF
##BE21B71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#C53B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #be21b7;
/* rgb */ color: rgb(190, 33, 183);
/* oklch */ color: oklch(56.9% 0.240 330.3);
Tailwind
colors: {
  custom: {
    50: '#d672cd',
    500: '#be21b7',
    950: '#000000',
  },
}
SCSS
$custom: #be21b7;
$custom-light: #d672cd;
$custom-dark: #000000;
JSON
{
  "hex": "#be21b7",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 183
  },
  "hsl": {
    "h": 302.675,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.23958,
    "h": 330.3
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE21B7

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

Preview Lab → · Contrast checker → · Palette generator →

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