#BE40C2#BE40C2

#BE40C2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.218 H 326.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BE40C2
RGBrgb(190, 64, 194)
HSLhsl(298, 52%, 51%)
HSVhsv(298, 67%, 76%)
CMYKcmyk(2.1%, 67%, 0%, 23.9%)
CIE-LABlab(50.11, 65.77, -43.22)
CIE-LCHlch(50.11, 78.70, 326.69°)
OKLaboklab(59.82% 0.1816 -0.1198)
OKLCHoklch(59.82% 0.218 326.6)
XYZxyz(32.8056, 18.5111, 52.8736)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40C2 #44C240
analogous
#7D40C2 #BE40C2 #C24085
triadic
#BE40C2 #C2BE40 #40C2BE
tetradic
#BE40C2 #C27D40 #44C240 #4085C2
square
#BE40C2 #C27D40 #44C240 #4085C2
split-complementary
#BE40C2 #85C240 #40C27D
monochromatic
#652167 #923095 #BE40C2 #CE6ED1 #DE9DE0

Accessibility & contrast

On white

4.47
#BE40C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BE40C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40C2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40C2#FFFFFF#000000##000000
##BE40C21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#C3537C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #be40c2;
/* rgb */ color: rgb(190, 64, 194);
/* oklch */ color: oklch(59.8% 0.218 326.6);
Tailwind
colors: {
  custom: {
    50: '#d57fd5',
    500: '#be40c2',
    950: '#000000',
  },
}
SCSS
$custom: #be40c2;
$custom-light: #d57fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#be40c2",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 298.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.21754,
    "h": 326.6
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#BE40C2
secondary
#94CC92
accent
#DB4D51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BE40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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