#BE21BC#BE21BC

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

Color values

HEX#BE21BC
RGBrgb(190, 33, 188)
HSLhsl(301, 70%, 44%)
HSVhsv(301, 83%, 75%)
CMYKcmyk(0%, 82.6%, 1.1%, 25.5%)
CIE-LABlab(46.54, 74.09, -45.41)
CIE-LCHlch(46.54, 86.90, 328.50°)
OKLaboklab(57.16% 0.2079 -0.1259)
OKLCHoklch(57.16% 0.243 328.8)
XYZxyz(30.8559, 15.6681, 48.9663)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21BC #21BE23
analogous
#7121BE #BE21BC #BE216D
triadic
#BE21BC #BCBE21 #21BCBE
tetradic
#BE21BC #BE7121 #21BE23 #216DBE
square
#BE21BC #BE7121 #21BE23 #216DBE
split-complementary
#BE21BC #6DBE21 #21BE71
monochromatic
#560F55 #8A1888 #BE21BC #DE3FDC #E773E5

Accessibility & contrast

On white

5.08
#BE21BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BE21BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21BC#FFFFFF#000000##FFFFFF
##BE21BC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#C53E71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #be21bc;
/* rgb */ color: rgb(190, 33, 188);
/* oklch */ color: oklch(57.2% 0.243 328.8);
Tailwind
colors: {
  custom: {
    50: '#d673d1',
    500: '#be21bc',
    950: '#000000',
  },
}
SCSS
$custom: #be21bc;
$custom-light: #d673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#be21bc",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 300.764,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.24306,
    "h": 328.8
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#BE21BC
secondary
#6DCD6F
accent
#ED3D3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BE21BC

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

Preview Lab → · Contrast checker → · Palette generator →

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