#BD42D2#BD42D2

#BD42D2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.228 H 321.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BD42D2
RGBrgb(189, 66, 210)
HSLhsl(291, 62%, 54%)
HSVhsv(291, 69%, 82%)
CMYKcmyk(10%, 68.6%, 0%, 17.6%)
CIE-LABlab(51.12, 67.60, -50.83)
CIE-LCHlch(51.12, 84.57, 323.06°)
OKLaboklab(60.8% 0.1783 -0.142)
OKLCHoklch(60.8% 0.228 321.5)
XYZxyz(34.5661, 19.3702, 62.8784)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42D2 #57D242
analogous
#7542D2 #BD42D2 #D2429F
triadic
#BD42D2 #D2BD42 #42D2BD
tetradic
#BD42D2 #D27542 #57D242 #429FD2
square
#BD42D2 #D27542 #57D242 #429FD2
split-complementary
#BD42D2 #9FD242 #42D275
monochromatic
#6E1E7C #9A29AD #BD42D2 #CE73DE #E0A5EA

Accessibility & contrast

On white

4.31
#BD42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BD42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42D2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42D2#FFFFFF#000000##000000
##BD42D21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0971D6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#BF5C85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bd42d2;
/* rgb */ color: rgb(189, 66, 210);
/* oklch */ color: oklch(60.8% 0.228 321.5);
Tailwind
colors: {
  custom: {
    50: '#d580e0',
    500: '#bd42d2',
    950: '#000000',
  },
}
SCSS
$custom: #bd42d2;
$custom-light: #d580e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42d2",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 291.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.22792,
    "h": 321.5
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#BD42D2
secondary
#A2D799
accent
#E5435B
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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