#BE31B5#BE31B5

#BE31B5 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.224 H 330.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BE31B5
RGBrgb(190, 49, 181)
HSLhsl(304, 59%, 47%)
HSVhsv(304, 74%, 75%)
CMYKcmyk(0%, 74.2%, 4.7%, 25.5%)
CIE-LABlab(47.60, 68.82, -39.62)
CIE-LCHlch(47.60, 79.41, 330.07°)
OKLaboklab(57.8% 0.196 -0.1092)
OKLCHoklch(57.8% 0.224 330.9)
XYZxyz(30.6739, 16.4824, 45.2730)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31B5 #31BE3A
analogous
#8131BE #BE31B5 #BE316F
triadic
#BE31B5 #B5BE31 #31B5BE
tetradic
#BE31B5 #BE8131 #31BE3A #316FBE
square
#BE31B5 #BE8131 #31BE3A #316FBE
split-complementary
#BE31B5 #6FBE31 #31BE81
monochromatic
#5D1858 #8D2487 #BE31B5 #D458CC #E189DB

Accessibility & contrast

On white

4.89
#BE31B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BE31B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31B5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31B5#FFFFFF#000000##FFFFFF
##BE31B51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#5D78B2
Tritanopia (blue-blind)
#C64371
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #be31b5;
/* rgb */ color: rgb(190, 49, 181);
/* oklch */ color: oklch(57.8% 0.224 330.9);
Tailwind
colors: {
  custom: {
    50: '#d678cb',
    500: '#be31b5',
    950: '#000000',
  },
}
SCSS
$custom: #be31b5;
$custom-light: #d678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#be31b5",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 303.83,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.22436,
    "h": 330.9
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#BE31B5
secondary
#80CA85
accent
#E25046
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BE31B5

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

Preview Lab → · Contrast checker → · Palette generator →

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