#BD42C8#BD42C8

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

Color values

HEX#BD42C8
RGBrgb(189, 66, 200)
HSLhsl(295, 55%, 52%)
HSVhsv(295, 67%, 78%)
CMYKcmyk(5.5%, 67%, 0%, 21.6%)
CIE-LABlab(50.56, 65.82, -45.99)
CIE-LCHlch(50.56, 80.29, 325.06°)
OKLaboklab(60.22% 0.1784 -0.1279)
OKLCHoklch(60.22% 0.22 324.4)
XYZxyz(33.3589, 18.8874, 56.5209)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C8 #4DC842
analogous
#7A42C8 #BD42C8 #C84290
triadic
#BD42C8 #C8BD42 #42C8BD
tetradic
#BD42C8 #C87A42 #4DC842 #4290C8
square
#BD42C8 #C87A42 #4DC842 #4290C8
split-complementary
#BD42C8 #90C842 #42C87A
monochromatic
#69206F #952E9F #BD42C8 #CE71D6 #DEA1E4

Accessibility & contrast

On white

4.40
#BD42C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BD42C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C8#FFFFFF#000000##000000
##BD42C81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#C15780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd42c8;
/* rgb */ color: rgb(189, 66, 200);
/* oklch */ color: oklch(60.2% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#d480d9',
    500: '#bd42c8',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c8;
$custom-light: #d480d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c8",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 295.075,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.21952,
    "h": 324.4
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#BD42C8
secondary
#9AD096
accent
#DE4A56
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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