#BE31B4#BE31B4

#BE31B4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.224 H 331.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BE31B4
RGBrgb(190, 49, 180)
HSLhsl(304, 59%, 47%)
HSVhsv(304, 74%, 75%)
CMYKcmyk(0%, 74.2%, 5.3%, 25.5%)
CIE-LABlab(47.55, 68.67, -39.12)
CIE-LCHlch(47.55, 79.03, 330.33°)
OKLaboklab(57.74% 0.1959 -0.1078)
OKLCHoklch(57.74% 0.224 331.2)
XYZxyz(30.5717, 16.4415, 44.7345)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31B4 #31BE3B
analogous
#8131BE #BE31B4 #BE316E
triadic
#BE31B4 #B4BE31 #31B4BE
tetradic
#BE31B4 #BE8131 #31BE3B #316EBE
square
#BE31B4 #BE8131 #31BE3B #316EBE
split-complementary
#BE31B4 #6EBE31 #31BE81
monochromatic
#5D1858 #8D2486 #BE31B4 #D458CB #E189DA

Accessibility & contrast

On white

4.90
#BE31B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BE31B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31B4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31B4#FFFFFF#000000##FFFFFF
##BE31B41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B8
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#C64370
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #be31b4;
/* rgb */ color: rgb(190, 49, 180);
/* oklch */ color: oklch(57.7% 0.224 331.2);
Tailwind
colors: {
  custom: {
    50: '#d678cb',
    500: '#be31b4',
    950: '#000000',
  },
}
SCSS
$custom: #be31b4;
$custom-light: #d678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#be31b4",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 304.255,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57741,
    "c": 0.22363,
    "h": 331.2
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#BE31B4
secondary
#80CA86
accent
#E25146
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BE31B4

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

Preview Lab → · Contrast checker → · Palette generator →

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