#BD42CC#BD42CC

#BD42CC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.223 H 323.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BD42CC
RGBrgb(189, 66, 204)
HSLhsl(293, 58%, 53%)
HSVhsv(293, 68%, 80%)
CMYKcmyk(7.4%, 67.6%, 0%, 20%)
CIE-LABlab(50.78, 66.52, -47.93)
CIE-LCHlch(50.78, 81.99, 324.22°)
OKLaboklab(60.45% 0.1784 -0.1335)
OKLCHoklch(60.45% 0.223 323.2)
XYZxyz(33.8325, 19.0768, 59.0152)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42CC #51CC42
analogous
#7842CC #BD42CC #CC4296
triadic
#BD42CC #CCBD42 #42CCBD
tetradic
#BD42CC #CC7842 #51CC42 #4296CC
square
#BD42CC #CC7842 #51CC42 #4296CC
split-complementary
#BD42CC #96CC42 #42CC78
monochromatic
#6B1F74 #972CA4 #BD42CC #CE72D9 #DFA2E6

Accessibility & contrast

On white

4.36
#BD42CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BD42CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42CC#FFFFFF#000000##000000
##BD42CC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#C05982
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bd42cc;
/* rgb */ color: rgb(189, 66, 204);
/* oklch */ color: oklch(60.4% 0.223 323.2);
Tailwind
colors: {
  custom: {
    50: '#d480dc',
    500: '#bd42cc',
    950: '#000000',
  },
}
SCSS
$custom: #bd42cc;
$custom-light: #d480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42cc",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 293.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.22286,
    "h": 323.2
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#BD42CC
secondary
#9ED397
accent
#E14758
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42CC

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

Preview Lab → · Contrast checker → · Palette generator →

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