#BE40BD#BE40BD

#BE40BD is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.214 H 328.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BE40BD
RGBrgb(190, 64, 189)
HSLhsl(300, 50%, 50%)
HSVhsv(300, 66%, 75%)
CMYKcmyk(0%, 66.3%, 0.5%, 25.5%)
CIE-LABlab(49.85, 64.93, -40.74)
CIE-LCHlch(49.85, 76.65, 327.90°)
OKLaboklab(59.55% 0.1814 -0.1126)
OKLCHoklch(59.55% 0.214 328.2)
XYZxyz(32.2535, 18.2903, 49.9658)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40BD #40BE41
analogous
#8040BE #BE40BD #BE407E
triadic
#BE40BD #BDBE40 #40BDBE
tetradic
#BE40BD #BE8040 #40BE41 #407EBE
square
#BE40BD #BE8040 #40BE41 #407EBE
split-complementary
#BE40BD #7EBE40 #40BE80
monochromatic
#622162 #90318F #BE40BD #CE6DCD #DD9BDD

Accessibility & contrast

On white

4.51
#BE40BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BE40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40BD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40BD#FFFFFF#000000##000000
##BE40BD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#C45179
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #be40bd;
/* rgb */ color: rgb(190, 64, 189);
/* oklch */ color: oklch(59.5% 0.214 328.2);
Tailwind
colors: {
  custom: {
    50: '#d57fd1',
    500: '#be40bd',
    950: '#000000',
  },
}
SCSS
$custom: #be40bd;
$custom-light: #d57fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#be40bd",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 300.476,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.21353,
    "h": 328.2
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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