#BE51B2#BE51B2

#BE51B2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.181 H 332.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BE51B2
RGBrgb(190, 81, 178)
HSLhsl(307, 46%, 53%)
HSVhsv(307, 57%, 75%)
CMYKcmyk(0%, 57.4%, 6.3%, 25.5%)
CIE-LABlab(51.89, 55.97, -31.13)
CIE-LCHlch(51.89, 64.04, 330.92°)
OKLaboklab(60.86% 0.16 -0.085)
OKLCHoklch(60.86% 0.181 332)
XYZxyz(32.2134, 20.0486, 44.2839)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE51B2 #51BE5D
analogous
#9451BE #BE51B2 #BE517B
triadic
#BE51B2 #B2BE51 #51B2BE
tetradic
#BE51B2 #BE9451 #51BE5D #517BBE
square
#BE51B2 #BE9451 #51BE5D #517BBE
split-complementary
#BE51B2 #7BBE51 #51BE94
monochromatic
#6C2865 #99398E #BE51B2 #CF7EC6 #DFAAD9

Accessibility & contrast

On white

4.19
#BE51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BE51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE51B2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE51B2#FFFFFF#000000##000000
##BE51B21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#C55A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #be51b2;
/* rgb */ color: rgb(190, 81, 178);
/* oklch */ color: oklch(60.9% 0.181 332.0);
Tailwind
colors: {
  custom: {
    50: '#d488c9',
    500: '#be51b2',
    950: '#000000',
  },
}
SCSS
$custom: #be51b2;
$custom-light: #d488c9;
$custom-dark: #000000;
JSON
{
  "hex": "#be51b2",
  "rgb": {
    "r": 190,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 306.606,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.18119,
    "h": 332
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#BE51B2
secondary
#9ECDA3
accent
#D56153
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #BE51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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