#BD40C0#BD40C0

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

Color values

HEX#BD40C0
RGBrgb(189, 64, 192)
HSLhsl(299, 50%, 50%)
HSVhsv(299, 67%, 75%)
CMYKcmyk(1.6%, 66.7%, 0%, 24.7%)
CIE-LABlab(49.85, 65.20, -42.48)
CIE-LCHlch(49.85, 77.82, 326.91°)
OKLaboklab(59.57% 0.1804 -0.1177)
OKLCHoklch(59.57% 0.215 326.9)
XYZxyz(32.3335, 18.2935, 51.6869)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40C0 #43C040
analogous
#7D40C0 #BD40C0 #C04083
triadic
#BD40C0 #C0BD40 #40C0BD
tetradic
#BD40C0 #C07D40 #43C040 #4083C0
square
#BD40C0 #C07D40 #43C040 #4083C0
split-complementary
#BD40C0 #83C040 #40C07D
monochromatic
#632164 #903092 #BD40C0 #CD6ECF #DD9CDE

Accessibility & contrast

On white

4.51
#BD40C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BD40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40C0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40C0#FFFFFF#000000##000000
##BD40C01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC4
Deuteranopia (green-blind)
#5E7CBD
Tritanopia (blue-blind)
#C2537B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd40c0;
/* rgb */ color: rgb(189, 64, 192);
/* oklch */ color: oklch(59.6% 0.215 326.9);
Tailwind
colors: {
  custom: {
    50: '#d47fd3',
    500: '#bd40c0',
    950: '#000000',
  },
}
SCSS
$custom: #bd40c0;
$custom-light: #d47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40c0",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 298.594,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.21542,
    "h": 326.9
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#BD40C0
secondary
#93CB91
accent
#DA4E51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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