#BE31B2#BE31B2

#BE31B2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.222 H 331.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BE31B2
RGBrgb(190, 49, 178)
HSLhsl(305, 59%, 47%)
HSVhsv(305, 74%, 75%)
CMYKcmyk(0%, 74.2%, 6.3%, 25.5%)
CIE-LABlab(47.44, 68.36, -38.11)
CIE-LCHlch(47.44, 78.26, 330.86°)
OKLaboklab(57.63% 0.1959 -0.1049)
OKLCHoklch(57.63% 0.222 331.8)
XYZxyz(30.3694, 16.3606, 43.6693)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31B2 #31BE3D
analogous
#8331BE #BE31B2 #BE316C
triadic
#BE31B2 #B2BE31 #31B2BE
tetradic
#BE31B2 #BE8331 #31BE3D #316CBE
square
#BE31B2 #BE8331 #31BE3D #316CBE
split-complementary
#BE31B2 #6CBE31 #31BE83
monochromatic
#5D1857 #8D2484 #BE31B2 #D458C9 #E189D9

Accessibility & contrast

On white

4.92
#BE31B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BE31B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31B2#FFFFFF#000000##FFFFFF
##BE31B21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#5F77AF
Tritanopia (blue-blind)
#C6426F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #be31b2;
/* rgb */ color: rgb(190, 49, 178);
/* oklch */ color: oklch(57.6% 0.222 331.8);
Tailwind
colors: {
  custom: {
    50: '#d578c9',
    500: '#be31b2',
    950: '#000000',
  },
}
SCSS
$custom: #be31b2;
$custom-light: #d578c9;
$custom-dark: #000000;
JSON
{
  "hex": "#be31b2",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 305.106,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57633,
    "c": 0.22218,
    "h": 331.8
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#BE31B2
secondary
#80CA87
accent
#E25346
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BE31B2

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

Preview Lab → · Contrast checker → · Palette generator →

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