#BD42C9#BD42C9

#BD42C9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.220 H 324.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BD42C9
RGBrgb(189, 66, 201)
HSLhsl(295, 56%, 52%)
HSVhsv(295, 67%, 79%)
CMYKcmyk(6%, 67.2%, 0%, 21.2%)
CIE-LABlab(50.61, 65.99, -46.47)
CIE-LCHlch(50.61, 80.71, 324.84°)
OKLaboklab(60.27% 0.1784 -0.1293)
OKLCHoklch(60.27% 0.22 324.1)
XYZxyz(33.4762, 18.9343, 57.1384)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C9 #4EC942
analogous
#7A42C9 #BD42C9 #C94291
triadic
#BD42C9 #C9BD42 #42C9BD
tetradic
#BD42C9 #C97A42 #4EC942 #4291C9
square
#BD42C9 #C97A42 #4EC942 #4291C9
split-complementary
#BD42C9 #91C942 #42C97A
monochromatic
#692070 #962EA0 #BD42C9 #CE72D7 #DEA1E4

Accessibility & contrast

On white

4.39
#BD42C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BD42C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C9#FFFFFF#000000##000000
##BD42C91.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#216FCD
Deuteranopia (green-blind)
#597EC6
Tritanopia (blue-blind)
#C15880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c9;
/* rgb */ color: rgb(189, 66, 201);
/* oklch */ color: oklch(60.3% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#d480da',
    500: '#bd42c9',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c9;
$custom-light: #d480da;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c9",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 294.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.22036,
    "h": 324.1
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#BD42C9
secondary
#9BD196
accent
#DF4956
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42C9

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

Preview Lab → · Contrast checker → · Palette generator →

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