#BE40D2#BE40D2

#BE40D2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.231 H 321.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BE40D2
RGBrgb(190, 64, 210)
HSLhsl(292, 62%, 54%)
HSVhsv(292, 70%, 82%)
CMYKcmyk(9.5%, 69.5%, 0%, 17.6%)
CIE-LABlab(51.00, 68.56, -51.01)
CIE-LCHlch(51.00, 85.45, 323.35°)
OKLaboklab(60.75% 0.1815 -0.1425)
OKLCHoklch(60.75% 0.231 321.9)
XYZxyz(34.7002, 19.2690, 62.8518)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40D2 #54D240
analogous
#7540D2 #BE40D2 #D2409D
triadic
#BE40D2 #D2BE40 #40D2BE
tetradic
#BE40D2 #D27540 #54D240 #409DD2
square
#BE40D2 #D27540 #54D240 #409DD2
split-complementary
#BE40D2 #9DD240 #40D275
monochromatic
#6E1D7B #9A29AC #BE40D2 #CF72DE #E0A3E9

Accessibility & contrast

On white

4.33
#BE40D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BE40D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40D2#FFFFFF#000000##000000
##BE40D21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0170D6
Deuteranopia (green-blind)
#537ECE
Tritanopia (blue-blind)
#C05A85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #be40d2;
/* rgb */ color: rgb(190, 64, 210);
/* oklch */ color: oklch(60.7% 0.231 321.9);
Tailwind
colors: {
  custom: {
    50: '#d580e0',
    500: '#be40d2',
    950: '#000000',
  },
}
SCSS
$custom: #be40d2;
$custom-light: #d580e0;
$custom-dark: #000000;
JSON
{
  "hex": "#be40d2",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 291.781,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.2307,
    "h": 321.9
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#BE40D2
secondary
#A0D698
accent
#E54359
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BE40D2

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

Preview Lab → · Contrast checker → · Palette generator →

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