#BE40C9#BE40C9

#BE40C9 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.223 H 324.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BE40C9
RGBrgb(190, 64, 201)
HSLhsl(295, 56%, 52%)
HSVhsv(295, 68%, 79%)
CMYKcmyk(5.5%, 68.2%, 0%, 21.2%)
CIE-LABlab(50.49, 66.97, -46.65)
CIE-LCHlch(50.49, 81.62, 325.14°)
OKLaboklab(60.22% 0.1816 -0.1298)
OKLCHoklch(60.22% 0.223 324.5)
XYZxyz(33.6103, 18.8330, 57.1118)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40C9 #4BC940
analogous
#7940C9 #BE40C9 #C94090
triadic
#BE40C9 #C9BE40 #40C9BE
tetradic
#BE40C9 #C97940 #4BC940 #4090C9
square
#BE40C9 #C97940 #4BC940 #4090C9
split-complementary
#BE40C9 #90C940 #40C979
monochromatic
#691F6F #962D9F #BE40C9 #CE70D6 #DE9FE4

Accessibility & contrast

On white

4.41
#BE40C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BE40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40C9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40C9#FFFFFF#000000##000000
##BE40C91.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECD
Deuteranopia (green-blind)
#597DC6
Tritanopia (blue-blind)
#C25680
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #be40c9;
/* rgb */ color: rgb(190, 64, 201);
/* oklch */ color: oklch(60.2% 0.223 324.5);
Tailwind
colors: {
  custom: {
    50: '#d57fda',
    500: '#be40c9',
    950: '#000000',
  },
}
SCSS
$custom: #be40c9;
$custom-light: #d57fda;
$custom-dark: #000000;
JSON
{
  "hex": "#be40c9",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 295.182,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.22323,
    "h": 324.5
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#BE40C9
secondary
#99D094
accent
#DF4955
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BE40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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