#BE40C7#BE40C7

#BE40C7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.222 H 325.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BE40C7
RGBrgb(190, 64, 199)
HSLhsl(296, 55%, 52%)
HSVhsv(296, 68%, 78%)
CMYKcmyk(4.5%, 67.8%, 0%, 22%)
CIE-LABlab(50.38, 66.63, -45.68)
CIE-LCHlch(50.38, 80.78, 325.57°)
OKLaboklab(60.1% 0.1817 -0.1269)
OKLCHoklch(60.1% 0.222 325.1)
XYZxyz(33.3766, 18.7395, 55.8809)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40C7 #49C740
analogous
#7B40C7 #BE40C7 #C7408D
triadic
#BE40C7 #C7BE40 #40C7BE
tetradic
#BE40C7 #C77B40 #49C740 #408DC7
square
#BE40C7 #C77B40 #49C740 #408DC7
split-complementary
#BE40C7 #8DC740 #40C77B
monochromatic
#68206D #952E9C #BE40C7 #CE6FD5 #DE9FE3

Accessibility & contrast

On white

4.42
#BE40C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BE40C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40C7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40C7#FFFFFF#000000##000000
##BE40C71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#5A7DC4
Tritanopia (blue-blind)
#C2557F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #be40c7;
/* rgb */ color: rgb(190, 64, 199);
/* oklch */ color: oklch(60.1% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#d57fd8',
    500: '#be40c7',
    950: '#000000',
  },
}
SCSS
$custom: #be40c7;
$custom-light: #d57fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#be40c7",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 296,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.2216,
    "h": 325.1
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#BE40C7
secondary
#98CF94
accent
#DE4A54
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BE40C7

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

Preview Lab → · Contrast checker → · Palette generator →

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