#BE40AF#BE40AF

#BE40AF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.203 H 332.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BE40AF
RGBrgb(190, 64, 175)
HSLhsl(307, 50%, 50%)
HSVhsv(307, 66%, 75%)
CMYKcmyk(0%, 66.3%, 7.9%, 25.5%)
CIE-LABlab(49.14, 62.66, -33.67)
CIE-LCHlch(49.14, 71.13, 331.75°)
OKLaboklab(58.81% 0.1805 -0.0922)
OKLCHoklch(58.81% 0.203 332.9)
XYZxyz(30.8066, 17.7115, 42.3453)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40AF #40BE4F
analogous
#8E40BE #BE40AF #BE4070
triadic
#BE40AF #AFBE40 #40AFBE
tetradic
#BE40AF #BE8E40 #40BE4F #4070BE
square
#BE40AF #BE8E40 #40BE4F #4070BE
split-complementary
#BE40AF #70BE40 #40BE8E
monochromatic
#62215B #903185 #BE40AF #CE6DC2 #DD9BD5

Accessibility & contrast

On white

4.62
#BE40AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BE40AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40AF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40AF#FFFFFF#000000##FFFFFF
##BE40AF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#C64B72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #be40af;
/* rgb */ color: rgb(190, 64, 175);
/* oklch */ color: oklch(58.8% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#d57ec7',
    500: '#be40af',
    950: '#000000',
  },
}
SCSS
$custom: #be40af;
$custom-light: #d57ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#be40af",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 307.143,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.20265,
    "h": 332.9
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#BE40AF
secondary
#90C997
accent
#D95F4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BE40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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