#BE40D9#BE40D9

#BE40D9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.237 H 319.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BE40D9
RGBrgb(190, 64, 217)
HSLhsl(289, 67%, 55%)
HSVhsv(289, 71%, 85%)
CMYKcmyk(12.4%, 70.5%, 0%, 14.9%)
CIE-LABlab(51.41, 69.82, -54.35)
CIE-LCHlch(51.41, 88.48, 322.11°)
OKLaboklab(61.17% 0.1811 -0.1522)
OKLCHoklch(61.17% 0.237 319.9)
XYZxyz(35.5914, 19.6255, 67.5455)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40D9 #5BD940
analogous
#7240D9 #BE40D9 #D940A7
triadic
#BE40D9 #D9BE40 #40D9BE
tetradic
#BE40D9 #D97240 #5BD940 #40A7D9
square
#BE40D9 #D97240 #5BD940 #40A7D9
split-complementary
#BE40D9 #A7D940 #40D972
monochromatic
#721A84 #9D24B7 #BE40D9 #CF73E3 #E1A6ED

Accessibility & contrast

On white

4.26
#BE40D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BE40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40D9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40D9#FFFFFF#000000##000000
##BE40D91.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#4D7FD5
Tritanopia (blue-blind)
#BF5D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #be40d9;
/* rgb */ color: rgb(190, 64, 217);
/* oklch */ color: oklch(61.2% 0.237 319.9);
Tailwind
colors: {
  custom: {
    50: '#d680e5',
    500: '#be40d9',
    950: '#000000',
  },
}
SCSS
$custom: #be40d9;
$custom-light: #d680e5;
$custom-dark: #000000;
JSON
{
  "hex": "#be40d9",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 289.412,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.23657,
    "h": 319.9
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#BE40D9
secondary
#A6DA9A
accent
#EA3E5C
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BE40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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