#BE40BC#BE40BC

#BE40BC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.213 H 328.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BE40BC
RGBrgb(190, 64, 188)
HSLhsl(301, 50%, 50%)
HSVhsv(301, 66%, 75%)
CMYKcmyk(0%, 66.3%, 1.1%, 25.5%)
CIE-LABlab(49.79, 64.76, -40.24)
CIE-LCHlch(49.79, 76.25, 328.15°)
OKLaboklab(59.49% 0.1814 -0.1111)
OKLCHoklch(59.49% 0.213 328.5)
XYZxyz(32.1453, 18.2470, 49.3961)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40BC #40BE42
analogous
#8140BE #BE40BC #BE407D
triadic
#BE40BC #BCBE40 #40BCBE
tetradic
#BE40BC #BE8140 #40BE42 #407DBE
square
#BE40BC #BE8140 #40BE42 #407DBE
split-complementary
#BE40BC #7DBE40 #40BE81
monochromatic
#622161 #90318F #BE40BC #CE6DCC #DD9BDC

Accessibility & contrast

On white

4.52
#BE40BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BE40BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40BC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40BC#FFFFFF#000000##000000
##BE40BC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#C45179
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #be40bc;
/* rgb */ color: rgb(190, 64, 188);
/* oklch */ color: oklch(59.5% 0.213 328.5);
Tailwind
colors: {
  custom: {
    50: '#d57fd0',
    500: '#be40bc',
    950: '#000000',
  },
}
SCSS
$custom: #be40bc;
$custom-light: #d57fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#be40bc",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 300.952,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.21273,
    "h": 328.5
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#BE40BC
secondary
#90C991
accent
#D9514F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BE40BC

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

Preview Lab → · Contrast checker → · Palette generator →

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