#BE31C5#BE31C5

#BE31C5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.236 H 326.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BE31C5
RGBrgb(190, 49, 197)
HSLhsl(297, 60%, 48%)
HSVhsv(297, 75%, 77%)
CMYKcmyk(3.6%, 75.1%, 0%, 22.7%)
CIE-LABlab(48.48, 71.38, -47.54)
CIE-LCHlch(48.48, 85.76, 326.33°)
OKLaboklab(58.71% 0.1958 -0.1323)
OKLCHoklch(58.71% 0.236 326)
XYZxyz(32.4109, 17.1772, 54.4209)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31C5 #38C531
analogous
#7431C5 #BE31C5 #C53182
triadic
#BE31C5 #C5BE31 #31C5BE
tetradic
#BE31C5 #C57431 #38C531 #3182C5
square
#BE31C5 #C57431 #38C531 #3182C5
split-complementary
#BE31C5 #82C531 #31C574
monochromatic
#5F1963 #8F2594 #BE31C5 #D15DD7 #DF8EE3

Accessibility & contrast

On white

4.74
#BE31C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BE31C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31C5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31C5#FFFFFF#000000##FFFFFF
##BE31C51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#C34B7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #be31c5;
/* rgb */ color: rgb(190, 49, 197);
/* oklch */ color: oklch(58.7% 0.236 326.0);
Tailwind
colors: {
  custom: {
    50: '#d679d7',
    500: '#be31c5',
    950: '#000000',
  },
}
SCSS
$custom: #be31c5;
$custom-light: #d679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#be31c5",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 297.162,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.23629,
    "h": 326
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#BE31C5
secondary
#88CD85
accent
#E3444C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BE31C5

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

Preview Lab → · Contrast checker → · Palette generator →

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