#BD40C1#BD40C1

#BD40C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.216 H 326.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BD40C1
RGBrgb(189, 64, 193)
HSLhsl(298, 51%, 50%)
HSVhsv(298, 67%, 76%)
CMYKcmyk(2.1%, 66.8%, 0%, 24.3%)
CIE-LABlab(49.90, 65.37, -42.98)
CIE-LCHlch(49.90, 78.23, 326.68°)
OKLaboklab(59.62% 0.1805 -0.1191)
OKLCHoklch(59.62% 0.216 326.6)
XYZxyz(32.4447, 18.3380, 52.2724)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40C1 #44C140
analogous
#7D40C1 #BD40C1 #C14084
triadic
#BD40C1 #C1BD40 #40C1BD
tetradic
#BD40C1 #C17D40 #44C140 #4084C1
square
#BD40C1 #C17D40 #44C140 #4084C1
split-complementary
#BD40C1 #84C140 #40C17D
monochromatic
#632166 #913094 #BD40C1 #CD6ED0 #DD9CDF

Accessibility & contrast

On white

4.50
#BD40C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BD40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40C1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40C1#FFFFFF#000000##000000
##BD40C11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#296DC5
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#C2537C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd40c1;
/* rgb */ color: rgb(189, 64, 193);
/* oklch */ color: oklch(59.6% 0.216 326.6);
Tailwind
colors: {
  custom: {
    50: '#d47fd4',
    500: '#bd40c1',
    950: '#000000',
  },
}
SCSS
$custom: #bd40c1;
$custom-light: #d47fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40c1",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 298.14,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.21623,
    "h": 326.6
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#BD40C1
secondary
#93CB92
accent
#DA4D52
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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