#BD42DB#BD42DB

#BD42DB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.236 H 319.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BD42DB
RGBrgb(189, 66, 219)
HSLhsl(288, 68%, 56%)
HSVhsv(288, 70%, 86%)
CMYKcmyk(13.7%, 69.9%, 0%, 14.1%)
CIE-LABlab(51.65, 69.24, -55.12)
CIE-LCHlch(51.65, 88.50, 321.48°)
OKLaboklab(61.35% 0.1779 -0.1545)
OKLCHoklch(61.35% 0.236 319)
XYZxyz(35.7190, 19.8314, 68.9505)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42DB #60DB42
analogous
#7042DB #BD42DB #DB42AD
triadic
#BD42DB #DBBD42 #42DBBD
tetradic
#BD42DB #DB7042 #60DB42 #42ADDB
square
#BD42DB #DB7042 #60DB42 #42ADDB
split-complementary
#BD42DB #ADDB42 #42DB70
monochromatic
#731A89 #9E24BC #BD42DB #CF75E5 #E1A9EF

Accessibility & contrast

On white

4.23
#BD42DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BD42DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42DB#FFFFFF#000000##000000
##BD42DB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#BD5F8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd42db;
/* rgb */ color: rgb(189, 66, 219);
/* oklch */ color: oklch(61.4% 0.236 319.0);
Tailwind
colors: {
  custom: {
    50: '#d581e7',
    500: '#bd42db',
    950: '#000000',
  },
}
SCSS
$custom: #bd42db;
$custom-light: #d581e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42db",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 288.235,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.2356,
    "h": 319
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#BD42DB
secondary
#A9DC9D
accent
#EB3D5F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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