#BD42CB#BD42CB

#BD42CB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.222 H 323.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BD42CB
RGBrgb(189, 66, 203)
HSLhsl(294, 57%, 53%)
HSVhsv(294, 67%, 80%)
CMYKcmyk(6.9%, 67.5%, 0%, 20.4%)
CIE-LABlab(50.72, 66.34, -47.45)
CIE-LCHlch(50.72, 81.56, 324.43°)
OKLaboklab(60.39% 0.1784 -0.1321)
OKLCHoklch(60.39% 0.222 323.5)
XYZxyz(33.7130, 19.0290, 58.3856)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42CB #50CB42
analogous
#7942CB #BD42CB #CB4294
triadic
#BD42CB #CBBD42 #42CBBD
tetradic
#BD42CB #CB7942 #50CB42 #4294CB
square
#BD42CB #CB7942 #50CB42 #4294CB
split-complementary
#BD42CB #94CB42 #42CB79
monochromatic
#6A2073 #972DA3 #BD42CB #CE72D8 #DFA2E5

Accessibility & contrast

On white

4.37
#BD42CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BD42CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42CB#FFFFFF#000000##000000
##BD42CB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#C05982
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bd42cb;
/* rgb */ color: rgb(189, 66, 203);
/* oklch */ color: oklch(60.4% 0.222 323.5);
Tailwind
colors: {
  custom: {
    50: '#d480db',
    500: '#bd42cb',
    950: '#000000',
  },
}
SCSS
$custom: #bd42cb;
$custom-light: #d480db;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42cb",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 293.869,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.22203,
    "h": 323.5
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#BD42CB
secondary
#9DD297
accent
#E04857
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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