#BE40BA#BE40BA

#BE40BA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.211 H 329.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BE40BA
RGBrgb(190, 64, 186)
HSLhsl(302, 50%, 50%)
HSVhsv(302, 66%, 75%)
CMYKcmyk(0%, 66.3%, 2.1%, 25.5%)
CIE-LABlab(49.69, 64.43, -39.24)
CIE-LCHlch(49.69, 75.44, 328.66°)
OKLaboklab(59.38% 0.1813 -0.1082)
OKLCHoklch(59.38% 0.211 329.2)
XYZxyz(31.9312, 18.1614, 48.2685)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40BA #40BE44
analogous
#8340BE #BE40BA #BE407B
triadic
#BE40BA #BABE40 #40BABE
tetradic
#BE40BA #BE8340 #40BE44 #407BBE
square
#BE40BA #BE8340 #40BE44 #407BBE
split-complementary
#BE40BA #7BBE40 #40BE83
monochromatic
#622160 #90318D #BE40BA #CE6DCB #DD9BDB

Accessibility & contrast

On white

4.53
#BE40BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BE40BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40BA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40BA#FFFFFF#000000##000000
##BE40BA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#326BBE
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#C45078
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #be40ba;
/* rgb */ color: rgb(190, 64, 186);
/* oklch */ color: oklch(59.4% 0.211 329.2);
Tailwind
colors: {
  custom: {
    50: '#d57fcf',
    500: '#be40ba',
    950: '#000000',
  },
}
SCSS
$custom: #be40ba;
$custom-light: #d57fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#be40ba",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 301.905,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.21115,
    "h": 329.2
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#BE40BA
secondary
#90C992
accent
#D9534F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BE40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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