#BD42C2#BD42C2

#BD42C2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.215 H 326.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BD42C2
RGBrgb(189, 66, 194)
HSLhsl(298, 51%, 51%)
HSVhsv(298, 66%, 76%)
CMYKcmyk(2.6%, 66%, 0%, 23.9%)
CIE-LABlab(50.23, 64.77, -43.04)
CIE-LCHlch(50.23, 77.77, 326.40°)
OKLaboklab(59.88% 0.1783 -0.1193)
OKLCHoklch(59.88% 0.215 326.2)
XYZxyz(32.6715, 18.6124, 52.9002)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42C2 #47C242
analogous
#7D42C2 #BD42C2 #C24287
triadic
#BD42C2 #C2BD42 #42C2BD
tetradic
#BD42C2 #C27D42 #47C242 #4287C2
square
#BD42C2 #C27D42 #47C242 #4287C2
split-complementary
#BD42C2 #87C242 #42C27D
monochromatic
#652268 #923196 #BD42C2 #CD70D1 #DD9FE0

Accessibility & contrast

On white

4.45
#BD42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BD42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42C2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42C2#FFFFFF#000000##000000
##BD42C21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#C2557D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd42c2;
/* rgb */ color: rgb(189, 66, 194);
/* oklch */ color: oklch(59.9% 0.215 326.2);
Tailwind
colors: {
  custom: {
    50: '#d480d5',
    500: '#bd42c2',
    950: '#000000',
  },
}
SCSS
$custom: #bd42c2;
$custom-light: #d480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42c2",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 297.656,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.21456,
    "h": 326.2
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#BD42C2
secondary
#96CC94
accent
#DB4D53
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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