#BE51B3#BE51B3

#BE51B3 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.182 H 331.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BE51B3
RGBrgb(190, 81, 179)
HSLhsl(306, 46%, 53%)
HSVhsv(306, 57%, 75%)
CMYKcmyk(0%, 57.4%, 5.8%, 25.5%)
CIE-LABlab(51.94, 56.14, -31.64)
CIE-LCHlch(51.94, 64.44, 330.60°)
OKLaboklab(60.91% 0.1601 -0.0865)
OKLCHoklch(60.91% 0.182 331.6)
XYZxyz(32.3142, 20.0889, 44.8146)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE51B3 #51BE5C
analogous
#9251BE #BE51B3 #BE517C
triadic
#BE51B3 #B3BE51 #51B3BE
tetradic
#BE51B3 #BE9251 #51BE5C #517CBE
square
#BE51B3 #BE9251 #51BE5C #517CBE
split-complementary
#BE51B3 #7CBE51 #51BE92
monochromatic
#6C2865 #99398F #BE51B3 #CF7EC6 #DFAADA

Accessibility & contrast

On white

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

On black

5.02
#BE51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE51B3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE51B3#FFFFFF#000000##000000
##BE51B31.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #be51b3;
/* rgb */ color: rgb(190, 81, 179);
/* oklch */ color: oklch(60.9% 0.182 331.6);
Tailwind
colors: {
  custom: {
    50: '#d488ca',
    500: '#be51b3',
    950: '#000000',
  },
}
SCSS
$custom: #be51b3;
$custom-light: #d488ca;
$custom-dark: #000000;
JSON
{
  "hex": "#be51b3",
  "rgb": {
    "r": 190,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 306.055,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.18202,
    "h": 331.6
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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