#BE40D4#BE40D4

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

Color values

HEX#BE40D4
RGBrgb(190, 64, 212)
HSLhsl(291, 63%, 54%)
HSVhsv(291, 70%, 83%)
CMYKcmyk(10.4%, 69.8%, 0%, 16.9%)
CIE-LABlab(51.12, 68.92, -51.97)
CIE-LCHlch(51.12, 86.32, 322.98°)
OKLaboklab(60.87% 0.1814 -0.1453)
OKLCHoklch(60.87% 0.232 321.3)
XYZxyz(34.9509, 19.3693, 64.1723)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40D4 #56D440
analogous
#7440D4 #BE40D4 #D440A0
triadic
#BE40D4 #D4BE40 #40D4BE
tetradic
#BE40D4 #D47440 #56D440 #40A0D4
square
#BE40D4 #D47440 #56D440 #40A0D4
split-complementary
#BE40D4 #A0D440 #40D474
monochromatic
#6F1C7D #9B27AF #BE40D4 #CF72DF #E0A4EA

Accessibility & contrast

On white

4.31
#BE40D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BE40D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40D4#FFFFFF#000000##000000
##BE40D41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#517ED0
Tritanopia (blue-blind)
#C05B86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #be40d4;
/* rgb */ color: rgb(190, 64, 212);
/* oklch */ color: oklch(60.9% 0.232 321.3);
Tailwind
colors: {
  custom: {
    50: '#d580e2',
    500: '#be40d4',
    950: '#000000',
  },
}
SCSS
$custom: #be40d4;
$custom-light: #d580e2;
$custom-dark: #000000;
JSON
{
  "hex": "#be40d4",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 291.081,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.23238,
    "h": 321.3
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#BE40D4
secondary
#A2D798
accent
#E6425A
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BE40D4

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

Preview Lab → · Contrast checker → · Palette generator →

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