#BD40CF#BD40CF

#BD40CF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.228 H 322.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BD40CF
RGBrgb(189, 64, 207)
HSLhsl(292, 60%, 53%)
HSVhsv(292, 69%, 81%)
CMYKcmyk(8.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(50.68, 67.81, -49.81)
CIE-LCHlch(50.68, 84.14, 323.70°)
OKLaboklab(60.43% 0.1804 -0.139)
OKLCHoklch(60.43% 0.228 322.4)
XYZxyz(34.0810, 18.9925, 60.8902)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40CF #52CF40
analogous
#7640CF #BD40CF #CF4099
triadic
#BD40CF #CFBD40 #40CFBD
tetradic
#BD40CF #CF7640 #52CF40 #4099CF
square
#BD40CF #CF7640 #52CF40 #4099CF
split-complementary
#BD40CF #99CF40 #40CF76
monochromatic
#6C1E77 #982AA8 #BD40CF #CE71DB #DFA2E8

Accessibility & contrast

On white

4.38
#BD40CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BD40CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40CF#FFFFFF#000000##000000
##BD40CF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD3
Deuteranopia (green-blind)
#547DCC
Tritanopia (blue-blind)
#BF5983
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bd40cf;
/* rgb */ color: rgb(189, 64, 207);
/* oklch */ color: oklch(60.4% 0.228 322.4);
Tailwind
colors: {
  custom: {
    50: '#d57fde',
    500: '#bd40cf',
    950: '#000000',
  },
}
SCSS
$custom: #bd40cf;
$custom-light: #d57fde;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40cf",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 292.448,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.22776,
    "h": 322.4
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#BD40CF
secondary
#9ED497
accent
#E34559
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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