#BE40B8#BE40B8

#BE40B8 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.210 H 329.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BE40B8
RGBrgb(190, 64, 184)
HSLhsl(303, 50%, 50%)
HSVhsv(303, 66%, 75%)
CMYKcmyk(0%, 66.3%, 3.2%, 25.5%)
CIE-LABlab(49.59, 64.11, -38.23)
CIE-LCHlch(49.59, 74.64, 329.19°)
OKLaboklab(59.28% 0.1812 -0.1053)
OKLCHoklch(59.28% 0.21 329.8)
XYZxyz(31.7201, 18.0769, 47.1566)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40B8 #40BE46
analogous
#8540BE #BE40B8 #BE4079
triadic
#BE40B8 #B8BE40 #40B8BE
tetradic
#BE40B8 #BE8540 #40BE46 #4079BE
square
#BE40B8 #BE8540 #40BE46 #4079BE
split-complementary
#BE40B8 #79BE40 #40BE85
monochromatic
#62215F #90318C #BE40B8 #CE6DC9 #DD9BDA

Accessibility & contrast

On white

4.55
#BE40B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BE40B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40B8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40B8#FFFFFF#000000##000000
##BE40B81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#637CB5
Tritanopia (blue-blind)
#C54F77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #be40b8;
/* rgb */ color: rgb(190, 64, 184);
/* oklch */ color: oklch(59.3% 0.210 329.8);
Tailwind
colors: {
  custom: {
    50: '#d57fce',
    500: '#be40b8',
    950: '#000000',
  },
}
SCSS
$custom: #be40b8;
$custom-light: #d57fce;
$custom-dark: #000000;
JSON
{
  "hex": "#be40b8",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 302.857,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.20957,
    "h": 329.8
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#BE40B8
secondary
#90C993
accent
#D9554F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BE40B8

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

Preview Lab → · Contrast checker → · Palette generator →

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