#BE40B2#BE40B2

#BE40B2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.205 H 331.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BE40B2
RGBrgb(190, 64, 178)
HSLhsl(306, 50%, 50%)
HSVhsv(306, 66%, 75%)
CMYKcmyk(0%, 66.3%, 6.3%, 25.5%)
CIE-LABlab(49.29, 63.14, -35.20)
CIE-LCHlch(49.29, 72.29, 330.86°)
OKLaboklab(58.96% 0.1807 -0.0966)
OKLCHoklch(58.96% 0.205 331.9)
XYZxyz(31.1045, 17.8307, 43.9143)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40B2 #40BE4C
analogous
#8B40BE #BE40B2 #BE4073
triadic
#BE40B2 #B2BE40 #40B2BE
tetradic
#BE40B2 #BE8B40 #40BE4C #4073BE
square
#BE40B2 #BE8B40 #40BE4C #4073BE
split-complementary
#BE40B2 #73BE40 #40BE8B
monochromatic
#62215C #903187 #BE40B2 #CE6DC5 #DD9BD7

Accessibility & contrast

On white

4.60
#BE40B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BE40B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40B2#FFFFFF#000000##FFFFFF
##BE40B21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#667BAF
Tritanopia (blue-blind)
#C64C74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #be40b2;
/* rgb */ color: rgb(190, 64, 178);
/* oklch */ color: oklch(59.0% 0.205 331.9);
Tailwind
colors: {
  custom: {
    50: '#d57fc9',
    500: '#be40b2',
    950: '#000000',
  },
}
SCSS
$custom: #be40b2;
$custom-light: #d57fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#be40b2",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 305.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.20492,
    "h": 331.9
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#BE40B2
secondary
#90C996
accent
#D95C4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BE40B2

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

Preview Lab → · Contrast checker → · Palette generator →

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