#BE31A9#BE31A9

#BE31A9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.216 H 334.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BE31A9
RGBrgb(190, 49, 169)
HSLhsl(309, 59%, 47%)
HSVhsv(309, 74%, 75%)
CMYKcmyk(0%, 74.2%, 11.1%, 25.5%)
CIE-LABlab(46.99, 67.01, -33.51)
CIE-LCHlch(46.99, 74.92, 333.43°)
OKLaboklab(57.16% 0.1954 -0.0916)
OKLCHoklch(57.16% 0.216 334.9)
XYZxyz(29.4953, 16.0110, 39.0654)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31A9 #31BE46
analogous
#8D31BE #BE31A9 #BE3163
triadic
#BE31A9 #A9BE31 #31A9BE
tetradic
#BE31A9 #BE8D31 #31BE46 #3163BE
square
#BE31A9 #BE8D31 #31BE46 #3163BE
split-complementary
#BE31A9 #63BE31 #31BE8D
monochromatic
#5D1852 #8D247E #BE31A9 #D458C2 #E189D3

Accessibility & contrast

On white

5.00
#BE31A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BE31A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31A9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31A9#FFFFFF#000000##FFFFFF
##BE31A91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#C73D6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #be31a9;
/* rgb */ color: rgb(190, 49, 169);
/* oklch */ color: oklch(57.2% 0.216 334.9);
Tailwind
colors: {
  custom: {
    50: '#d577c3',
    500: '#be31a9',
    950: '#000000',
  },
}
SCSS
$custom: #be31a9;
$custom-light: #d577c3;
$custom-dark: #000000;
JSON
{
  "hex": "#be31a9",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 308.936,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.2158,
    "h": 334.9
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#BE31A9
secondary
#80CA8B
accent
#E25D46
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BE31A9

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

Preview Lab → · Contrast checker → · Palette generator →

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