#BE40B4#BE40B4

#BE40B4 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.206 H 331.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BE40B4
RGBrgb(190, 64, 180)
HSLhsl(305, 50%, 50%)
HSVhsv(305, 66%, 75%)
CMYKcmyk(0%, 66.3%, 5.3%, 25.5%)
CIE-LABlab(49.39, 63.46, -36.21)
CIE-LCHlch(49.39, 73.06, 330.29°)
OKLaboklab(59.07% 0.1809 -0.0995)
OKLCHoklch(59.07% 0.206 331.2)
XYZxyz(31.3067, 17.9116, 44.9796)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40B4 #40BE4A
analogous
#8940BE #BE40B4 #BE4075
triadic
#BE40B4 #B4BE40 #40B4BE
tetradic
#BE40B4 #BE8940 #40BE4A #4075BE
square
#BE40B4 #BE8940 #40BE4A #4075BE
split-complementary
#BE40B4 #75BE40 #40BE89
monochromatic
#62215D #903189 #BE40B4 #CE6DC6 #DD9BD8

Accessibility & contrast

On white

4.58
#BE40B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BE40B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40B4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40B4#FFFFFF#000000##000000
##BE40B41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#C54D75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #be40b4;
/* rgb */ color: rgb(190, 64, 180);
/* oklch */ color: oklch(59.1% 0.206 331.2);
Tailwind
colors: {
  custom: {
    50: '#d57fcb',
    500: '#be40b4',
    950: '#000000',
  },
}
SCSS
$custom: #be40b4;
$custom-light: #d57fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#be40b4",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 304.762,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.20647,
    "h": 331.2
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#BE40B4
secondary
#90C995
accent
#D95A4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BE40B4

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

Preview Lab → · Contrast checker → · Palette generator →

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