#BD40CE#BD40CE

#BD40CE is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.227 H 322.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BD40CE
RGBrgb(189, 64, 206)
HSLhsl(293, 59%, 53%)
HSVhsv(293, 69%, 81%)
CMYKcmyk(8.3%, 68.9%, 0%, 19.2%)
CIE-LABlab(50.62, 67.63, -49.33)
CIE-LCHlch(50.62, 83.71, 323.89°)
OKLaboklab(60.37% 0.1805 -0.1376)
OKLCHoklch(60.37% 0.227 322.7)
XYZxyz(33.9591, 18.9438, 60.2483)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40CE #51CE40
analogous
#7640CE #BD40CE #CE4098
triadic
#BD40CE #CEBD40 #40CEBD
tetradic
#BD40CE #CE7640 #51CE40 #4098CE
square
#BD40CE #CE7640 #51CE40 #4098CE
split-complementary
#BD40CE #98CE40 #40CE76
monochromatic
#6B1E75 #972BA6 #BD40CE #CE71DA #DFA1E7

Accessibility & contrast

On white

4.39
#BD40CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BD40CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40CE#FFFFFF#000000##000000
##BD40CE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#106FD2
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#C05983
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd40ce;
/* rgb */ color: rgb(189, 64, 206);
/* oklch */ color: oklch(60.4% 0.227 322.7);
Tailwind
colors: {
  custom: {
    50: '#d57fdd',
    500: '#bd40ce',
    950: '#000000',
  },
}
SCSS
$custom: #bd40ce;
$custom-light: #d57fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40ce",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 292.817,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.22693,
    "h": 322.7
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#BD40CE
secondary
#9ED496
accent
#E24558
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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