#BE31B6#BE31B6

#BE31B6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.225 H 330.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BE31B6
RGBrgb(190, 49, 182)
HSLhsl(303, 59%, 47%)
HSVhsv(303, 74%, 75%)
CMYKcmyk(0%, 74.2%, 4.2%, 25.5%)
CIE-LABlab(47.65, 68.98, -40.12)
CIE-LCHlch(47.65, 79.80, 329.81°)
OKLaboklab(57.85% 0.196 -0.1107)
OKLCHoklch(57.85% 0.225 330.5)
XYZxyz(30.7769, 16.5236, 45.8153)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31B6 #31BE39
analogous
#8031BE #BE31B6 #BE3170
triadic
#BE31B6 #B6BE31 #31B6BE
tetradic
#BE31B6 #BE8031 #31BE39 #3170BE
square
#BE31B6 #BE8031 #31BE39 #3170BE
split-complementary
#BE31B6 #70BE31 #31BE80
monochromatic
#5D1859 #8D2487 #BE31B6 #D458CD #E189DC

Accessibility & contrast

On white

4.88
#BE31B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BE31B6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31B6#FFFFFF#000000##FFFFFF
##BE31B61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C54471
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #be31b6;
/* rgb */ color: rgb(190, 49, 182);
/* oklch */ color: oklch(57.9% 0.225 330.5);
Tailwind
colors: {
  custom: {
    50: '#d678cc',
    500: '#be31b6',
    950: '#000000',
  },
}
SCSS
$custom: #be31b6;
$custom-light: #d678cc;
$custom-dark: #000000;
JSON
{
  "hex": "#be31b6",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 303.404,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.22509,
    "h": 330.5
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE31B6

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

Preview Lab → · Contrast checker → · Palette generator →

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