#BE21B5#BE21B5

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

Color values

HEX#BE21B5
RGBrgb(190, 33, 181)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 83%, 75%)
CMYKcmyk(0%, 82.6%, 4.7%, 25.5%)
CIE-LABlab(46.14, 73.03, -41.93)
CIE-LCHlch(46.14, 84.21, 330.14°)
OKLaboklab(56.76% 0.2081 -0.1158)
OKLCHoklch(56.76% 0.238 330.9)
XYZxyz(30.1195, 15.3736, 45.0882)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE21B5 #21BE2A
analogous
#7821BE #BE21B5 #BE2167
triadic
#BE21B5 #B5BE21 #21B5BE
tetradic
#BE21B5 #BE7821 #21BE2A #2167BE
square
#BE21B5 #BE7821 #21BE2A #2167BE
split-complementary
#BE21B5 #67BE21 #21BE78
monochromatic
#560F52 #8A1883 #BE21B5 #DE3FD4 #E773E0

Accessibility & contrast

On white

5.15
#BE21B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BE21B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE21B5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE21B5#FFFFFF#000000##FFFFFF
##BE21B51.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#C63A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #be21b5;
/* rgb */ color: rgb(190, 33, 181);
/* oklch */ color: oklch(56.8% 0.238 330.9);
Tailwind
colors: {
  custom: {
    50: '#d672cc',
    500: '#be21b5',
    950: '#000000',
  },
}
SCSS
$custom: #be21b5;
$custom-light: #d672cc;
$custom-dark: #000000;
JSON
{
  "hex": "#be21b5",
  "rgb": {
    "r": 190,
    "g": 33,
    "b": 181
  },
  "hsl": {
    "h": 303.439,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.2382,
    "h": 330.9
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#BE21B5
secondary
#6DCD73
accent
#ED453B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BE21B5

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

Preview Lab → · Contrast checker → · Palette generator →

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