#BD40CA#BD40CA

#BD40CA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.224 H 323.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BD40CA
RGBrgb(189, 64, 202)
HSLhsl(294, 57%, 52%)
HSVhsv(294, 68%, 79%)
CMYKcmyk(6.4%, 68.3%, 0%, 20.8%)
CIE-LABlab(50.40, 66.93, -47.39)
CIE-LCHlch(50.40, 82.01, 324.70°)
OKLaboklab(60.14% 0.1805 -0.132)
OKLCHoklch(60.14% 0.224 323.8)
XYZxyz(33.4794, 18.7519, 57.7217)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40CA #4DCA40
analogous
#7840CA #BD40CA #CA4092
triadic
#BD40CA #CABD40 #40CABD
tetradic
#BD40CA #CA7840 #4DCA40 #4092CA
square
#BD40CA #CA7840 #4DCA40 #4092CA
split-complementary
#BD40CA #92CA40 #40CA78
monochromatic
#691F70 #952CA0 #BD40CA #CE70D7 #DEA0E5

Accessibility & contrast

On white

4.42
#BD40CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BD40CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40CA#FFFFFF#000000##000000
##BD40CA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#C05780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd40ca;
/* rgb */ color: rgb(189, 64, 202);
/* oklch */ color: oklch(60.1% 0.224 323.8);
Tailwind
colors: {
  custom: {
    50: '#d57fdb',
    500: '#bd40ca',
    950: '#000000',
  },
}
SCSS
$custom: #bd40ca;
$custom-light: #d57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40ca",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 294.348,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.2236,
    "h": 323.8
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#BD40CA
secondary
#9AD195
accent
#E04856
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD40CA

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

Preview Lab → · Contrast checker → · Palette generator →

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