#BD42E0#BD42E0

#BD42E0 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.240 H 317.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BD42E0
RGBrgb(189, 66, 224)
HSLhsl(287, 72%, 57%)
HSVhsv(287, 71%, 88%)
CMYKcmyk(15.6%, 70.5%, 0%, 12.2%)
CIE-LABlab(51.95, 70.17, -57.47)
CIE-LCHlch(51.95, 90.70, 320.68°)
OKLaboklab(61.66% 0.1775 -0.1614)
OKLCHoklch(61.66% 0.24 317.7)
XYZxyz(36.3871, 20.0987, 72.4693)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42E0 #65E042
analogous
#6E42E0 #BD42E0 #E042B4
triadic
#BD42E0 #E0BD42 #42E0BD
tetradic
#BD42E0 #E06E42 #65E042 #42B4E0
square
#BD42E0 #E06E42 #65E042 #42B4E0
split-complementary
#BD42E0 #B4E042 #42E06E
monochromatic
#751890 #A020C5 #BD42E0 #CF77E9 #E2ABF1

Accessibility & contrast

On white

4.18
#BD42E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BD42E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42E0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42E0#FFFFFF#000000##000000
##BD42E01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#4780DC
Tritanopia (blue-blind)
#BC618D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd42e0;
/* rgb */ color: rgb(189, 66, 224);
/* oklch */ color: oklch(61.7% 0.240 317.7);
Tailwind
colors: {
  custom: {
    50: '#d581ea',
    500: '#bd42e0',
    950: '#000000',
  },
}
SCSS
$custom: #bd42e0;
$custom-light: #d581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42e0",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 286.709,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.2399,
    "h": 317.7
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#BD42E0
secondary
#ADDF9F
accent
#EF3961
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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