#BD42D7#BD42D7

#BD42D7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.232 H 320.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BD42D7
RGBrgb(189, 66, 215)
HSLhsl(290, 65%, 55%)
HSVhsv(290, 69%, 84%)
CMYKcmyk(12.1%, 69.3%, 0%, 15.7%)
CIE-LABlab(51.41, 68.50, -53.22)
CIE-LCHlch(51.41, 86.75, 322.16°)
OKLaboklab(61.1% 0.1781 -0.149)
OKLCHoklch(61.1% 0.232 320.1)
XYZxyz(35.1987, 19.6233, 66.2104)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D7 #5CD742
analogous
#7242D7 #BD42D7 #D742A7
triadic
#BD42D7 #D7BD42 #42D7BD
tetradic
#BD42D7 #D77242 #5CD742 #42A7D7
square
#BD42D7 #D77242 #5CD742 #42A7D7
split-complementary
#BD42D7 #A7D742 #42D772
monochromatic
#711C83 #9C26B5 #BD42D7 #CF75E2 #E0A7EC

Accessibility & contrast

On white

4.26
#BD42D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BD42D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D7#FFFFFF#000000##000000
##BD42D71.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#4F7FD3
Tritanopia (blue-blind)
#BE5E88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d7;
/* rgb */ color: rgb(189, 66, 215);
/* oklch */ color: oklch(61.1% 0.232 320.1);
Tailwind
colors: {
  custom: {
    50: '#d581e4',
    500: '#bd42d7',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d7;
$custom-light: #d581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d7",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 289.53,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.23218,
    "h": 320.1
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#BD42D7
secondary
#A6DA9B
accent
#E8405D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42D7

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

Preview Lab → · Contrast checker → · Palette generator →

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