#BE40B3#BE40B3

#BE40B3 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.206 H 331.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BE40B3
RGBrgb(190, 64, 179)
HSLhsl(305, 50%, 50%)
HSVhsv(305, 66%, 75%)
CMYKcmyk(0%, 66.3%, 5.8%, 25.5%)
CIE-LABlab(49.34, 63.30, -35.71)
CIE-LCHlch(49.34, 72.67, 330.57°)
OKLaboklab(59.01% 0.1808 -0.0981)
OKLCHoklch(59.01% 0.206 331.5)
XYZxyz(31.2052, 17.8710, 44.4450)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40B3 #40BE4B
analogous
#8A40BE #BE40B3 #BE4074
triadic
#BE40B3 #B3BE40 #40B3BE
tetradic
#BE40B3 #BE8A40 #40BE4B #4074BE
square
#BE40B3 #BE8A40 #40BE4B #4074BE
split-complementary
#BE40B3 #74BE40 #40BE8A
monochromatic
#62215D #903188 #BE40B3 #CE6DC5 #DD9BD8

Accessibility & contrast

On white

4.59
#BE40B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BE40B3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40B3#FFFFFF#000000##FFFFFF
##BE40B31.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#C64D74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #be40b3;
/* rgb */ color: rgb(190, 64, 179);
/* oklch */ color: oklch(59.0% 0.206 331.5);
Tailwind
colors: {
  custom: {
    50: '#d57fca',
    500: '#be40b3',
    950: '#000000',
  },
}
SCSS
$custom: #be40b3;
$custom-light: #d57fca;
$custom-dark: #000000;
JSON
{
  "hex": "#be40b3",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 305.238,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.2057,
    "h": 331.5
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE40B3

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

Preview Lab → · Contrast checker → · Palette generator →

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