#BE40D3#BE40D3

#BE40D3 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.232 H 321.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BE40D3
RGBrgb(190, 64, 211)
HSLhsl(291, 63%, 54%)
HSVhsv(291, 70%, 83%)
CMYKcmyk(10%, 69.7%, 0%, 17.3%)
CIE-LABlab(51.06, 68.74, -51.49)
CIE-LCHlch(51.06, 85.88, 323.17°)
OKLaboklab(60.81% 0.1814 -0.1439)
OKLCHoklch(60.81% 0.232 321.6)
XYZxyz(34.8252, 19.3190, 63.5100)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40D3 #55D340
analogous
#7540D3 #BE40D3 #D3409E
triadic
#BE40D3 #D3BE40 #40D3BE
tetradic
#BE40D3 #D37540 #55D340 #409ED3
square
#BE40D3 #D37540 #55D340 #409ED3
split-complementary
#BE40D3 #9ED340 #40D375
monochromatic
#6E1D7C #9B28AE #BE40D3 #CF72DE #E0A3EA

Accessibility & contrast

On white

4.32
#BE40D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BE40D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE40D3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40D3#FFFFFF#000000##000000
##BE40D31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#C05B85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #be40d3;
/* rgb */ color: rgb(190, 64, 211);
/* oklch */ color: oklch(60.8% 0.232 321.6);
Tailwind
colors: {
  custom: {
    50: '#d580e1',
    500: '#be40d3',
    950: '#000000',
  },
}
SCSS
$custom: #be40d3;
$custom-light: #d580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#be40d3",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 291.429,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.23153,
    "h": 321.6
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#BE40D3
secondary
#A1D798
accent
#E6425A
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BE40D3

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

Preview Lab → · Contrast checker → · Palette generator →

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