#BE21BD#BE21BD

#BE21BD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.2% C 0.244 H 328.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BE21BD
RGBrgb(190, 33, 189)
HSLhsl(300, 70%, 44%)
HSVhsv(300, 83%, 75%)
CMYKcmyk(0%, 82.6%, 0.5%, 25.5%)
CIE-LABlab(46.59, 74.24, -45.90)
CIE-LCHlch(46.59, 87.29, 328.27°)
OKLaboklab(57.22% 0.2078 -0.1274)
OKLCHoklch(57.22% 0.244 328.5)
XYZxyz(30.9641, 15.7114, 49.5360)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21BD #21BE22
analogous
#7021BE #BE21BD #BE216E
triadic
#BE21BD #BDBE21 #21BDBE
tetradic
#BE21BD #BE7021 #21BE22 #216EBE
square
#BE21BD #BE7021 #21BE22 #216EBE
split-complementary
#BE21BD #6EBE21 #21BE70
monochromatic
#560F55 #8A1889 #BE21BD #DE3FDD #E773E6

Accessibility & contrast

On white

5.07
#BE21BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BE21BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21BD#FFFFFF#000000##FFFFFF
##BE21BD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#C43E72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #be21bd;
/* rgb */ color: rgb(190, 33, 189);
/* oklch */ color: oklch(57.2% 0.244 328.5);
Tailwind
colors: {
  custom: {
    50: '#d673d1',
    500: '#be21bd',
    950: '#000000',
  },
}
SCSS
$custom: #be21bd;
$custom-light: #d673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#be21bd",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 300.382,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.24376,
    "h": 328.5
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#BE21BD
secondary
#6DCD6E
accent
#ED3C3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BE21BD

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

Preview Lab → · Contrast checker → · Palette generator →

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