#BE40D5#BE40D5

#BE40D5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.233 H 321.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BE40D5
RGBrgb(190, 64, 213)
HSLhsl(291, 64%, 54%)
HSVhsv(291, 70%, 84%)
CMYKcmyk(10.8%, 70%, 0%, 16.5%)
CIE-LABlab(51.17, 69.10, -52.44)
CIE-LCHlch(51.17, 86.75, 322.80°)
OKLaboklab(60.93% 0.1813 -0.1467)
OKLCHoklch(60.93% 0.233 321)
XYZxyz(35.0775, 19.4199, 64.8387)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40D5 #57D540
analogous
#7440D5 #BE40D5 #D540A2
triadic
#BE40D5 #D5BE40 #40D5BE
tetradic
#BE40D5 #D57440 #57D540 #40A2D5
square
#BE40D5 #D57440 #57D540 #40A2D5
split-complementary
#BE40D5 #A2D540 #40D574
monochromatic
#6F1C7F #9C27B1 #BE40D5 #CF72E0 #E0A4EB

Accessibility & contrast

On white

4.30
#BE40D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BE40D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40D5#FFFFFF#000000##000000
##BE40D51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#517ED1
Tritanopia (blue-blind)
#BF5B86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #be40d5;
/* rgb */ color: rgb(190, 64, 213);
/* oklch */ color: oklch(60.9% 0.233 321.0);
Tailwind
colors: {
  custom: {
    50: '#d580e2',
    500: '#be40d5',
    950: '#000000',
  },
}
SCSS
$custom: #be40d5;
$custom-light: #d580e2;
$custom-dark: #000000;
JSON
{
  "hex": "#be40d5",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 290.738,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.23321,
    "h": 321
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#BE40D5
secondary
#A3D899
accent
#E7415A
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BE40D5

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

Preview Lab → · Contrast checker → · Palette generator →

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