#BE40C4#BE40C4

#BE40C4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.219 H 326.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BE40C4
RGBrgb(190, 64, 196)
HSLhsl(297, 53%, 51%)
HSVhsv(297, 67%, 77%)
CMYKcmyk(3.1%, 67.3%, 0%, 23.1%)
CIE-LABlab(50.22, 66.11, -44.20)
CIE-LCHlch(50.22, 79.53, 326.23°)
OKLaboklab(59.93% 0.1816 -0.1226)
OKLCHoklch(59.93% 0.219 326)
XYZxyz(33.0317, 18.6016, 54.0645)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40C4 #46C440
analogous
#7C40C4 #BE40C4 #C44088
triadic
#BE40C4 #C4BE40 #40C4BE
tetradic
#BE40C4 #C47C40 #46C440 #4088C4
square
#BE40C4 #C47C40 #46C440 #4088C4
split-complementary
#BE40C4 #88C440 #40C47C
monochromatic
#662069 #932F98 #BE40C4 #CE6FD2 #DE9EE1

Accessibility & contrast

On white

4.45
#BE40C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BE40C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40C4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40C4#FFFFFF#000000##000000
##BE40C41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#C3547D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #be40c4;
/* rgb */ color: rgb(190, 64, 196);
/* oklch */ color: oklch(59.9% 0.219 326.0);
Tailwind
colors: {
  custom: {
    50: '#d57fd6',
    500: '#be40c4',
    950: '#000000',
  },
}
SCSS
$custom: #be40c4;
$custom-light: #d57fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#be40c4",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 297.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.21915,
    "h": 326
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#BE40C4
secondary
#95CD93
accent
#DC4C52
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BE40C4

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

Preview Lab → · Contrast checker → · Palette generator →

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